Microsoft Chat Server SDK Reference

Nick Property

This property retrieves the user's nickname.

Syntax

Name = ChatUser.Nick
ChatUser.Nick = Name

Parameters

Name
String representing the user's nickname registration.

Remarks

Nick is the default property for the ChatUser object.

The user's nickname must be unique on the chat network. If the extension attempts to change the nickname to one that is already in use, E_INVALIDARG is returned as an HRESULT (C++) or in the Err object. Visual Basic users can capture this error by invoking "On Error Goto <label>" or "On Error Resume Next" before attempting to change the user's nickname.


© 1998 Microsoft Corporation. All rights reserved.