Returns the UNIX user profile associated with the specified user name in the zone.


IUserUnixProfile GetUserUnixProfileByName(string name)


Specify the following parameter when using this method:

Parameter Description


The user’s UNIX login name.

Return value

The UserUnixProfile object associated with the specified user name in the zone, or null if the UserUnixProfile is not found.


GetUserUnixProfileByName may throw one of the following exceptions:

  • NotSupportedException if the zone schema is not supported.
  • ApplicationException if there is more than one instance of the specified user in the zone.


The following code sample illustrates using this method in a script:

'Specify the zone you want to work with
set objZone = cims.GetZone("")
'Display the UNIX profile for the group “jae”
wScript.Echo objZone.GetUserUnixProfileByName(“jae”)