ID

Gets the unique identifier for the user as a string value.

Syntax

string ID {get;}

Property value

The unique identifier for the user as a string.

Example

The following code sample illustrates using ID in a script:

'Get the zone object  
Set objZone = cims.GetZone("ajax.org/UNIX/Zones/pilot")  
'Get the Active Directory user object  
set objUser = cims.GetUser("ajax.org/Users/pat.hu")  
'Get the UNIX profile for the user  
profile = objUser.UnixProfiles  
'Display the UID for the user  
wScript.Echo “User Identifier (UID): “ & profile.ID  
...