IUserInfo Property: UserComment

Property Name
UserComment

Property Type
String

Description
Gets and sets the User Comment property for the current user.

Remarks
This field is different from the User Description property that is available through IADsUser::Description

Example

Dim UserInfo As IUserInfo
'Get UserInfo interface on user object
Set UserInfo = GetObject("NTDS://DomainName/UserName")
'Get current user's UserComment
Debug.Print UserInfo. UserComment
'Set user comment
UserInfo.UserComment = "New Comment"
'Save this information
UserInfo.SetInfo

 

See Also