Zone

Gets the zone object associated with the user.

Syntax

IZone Zone {get;} 

Property value

The zone object associated with the user.

Example

The following code sample illustrates using Zone 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.UnixProfileByUid(10001)
'Display the zone associated with the user’s UNIX profile
wScript.Echo “Zone: ” & profile.Zone
...