Name

Gets or sets the UNIX login name of the user in the user’s UNIX profile.

Syntax

string Name {get; set;}

Property value

The UNIX login name from the user’s UNIX profile.

Example

The following code sample illustrates using Name 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")
'Set the UNIX profile for the user
set profile = objUser.SetUnixProfile(objZone, 10001, "pat", "/bin/bash", "/home/pat", 10001)
'Display the user’s UNIX login name
profile.Name
...