History  | 
UserClass (Directory) 
Minimum version: 4.0 
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)] 
 Example 
Dim sd as ServerDirectory 
If sd.UserClass = fcRegular then Debug "Regular User" 
 | ||||