UserProperty PropertyUserProperty Property*
*Contents  *Index  *Topic Contents
*Previous Topic: ServerProperty Property
*Next Topic: Methods

UserProperty Property

Synchronously accesses a user property.

Syntax

value=object.UserProperty(UserPropertyName[, Nickname])

Parameters

valueRequired. An object expression that evaluates to a ChatItems object.
objectRequired. An object expression that evaluates to an MsChatPr control.
UserPropertyNameRequired. A string containing one of these valid user property name values:
Away
Channels
HostInChannels
Identity
IdleTime
IPAddress
Modes
Nickname
OwnerOfChannels
RealName
ServerInfo
ServerName
SignOnTime
UserName
VoiceInChannel
NicknameOptional. A variant parameter that can be omitted or empty, in which case the call concerns the control user. Otherwise the Nickname must be a current server user.

Remarks

Access is read-only.

If the property could not be retrieved within the number of milliseconds specified by the PropertyAccessTimeOut property, an OnUserProperty event is fired with the requested property.

Example

Dim chatitemobj As ChatItems
Set chatitemobj = MsChatPr1.UserProperty("Away", "Mila")
'. . . use chatitemobj			
Set chatitemobj = MsChatPr1.UserProperty("SignOnTime")
'. . . use chatitemobj 
Set chatitemobj = Nothing

See Also

OnUserProperty, PropertyAccessTimeOut


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.