GetComputers

Returns the list of computers in the zone.

Syntax

IComputers GetComputers()

Return value

The list of computers for the selected zone object.

Example

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

...  
'Specify the zone you want to work with  
set objZone =
cims.GetZoneByPath("LDAP://CN=research,CN=zones,CN=centrify,CN=program
data,DC=arcade,  
DC=com")  
'Display the list of computers in the zone  
wScript.Echo “Computers in zone: “  
for each computer in objZone.GetComputers  
wScript.Echo computer.Name  
next  
...