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
value Required. An object expression that evaluates to a ChatItems object. object Required. An object expression that evaluates to an MsChatPr control. UserPropertyName Required. 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 Nickname Optional. 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 = NothingSee Also
OnUserProperty, PropertyAccessTimeOut
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.