Purpose
Returns the user class of a user in the Directory. Possible user classes are:
fcRegular
fcConf
fcGateway
fcRemote
fcRemoteName
fcRoute
fcPrivilegeGroup
fcMailList
fcConfGroup
fcCalendar
fcResourceCal
fcCalGroup
fcLocationCal
fcContact
fcContactList.
You can access a user directly by index. If the index is out of bounds, a runtime error is generated.
If no index is supplied, FindFirst/FindNext results are assumed.
Syntax
ServerDirectory.UserClass [(Index)]
Index |
The integer that represents the user in the Directory. |
Example
Dim sd as ServerDirectory
If sd.UserClass = fcRegular then Debug "Regular User"
|