GetDisplayName

Returns the name displayed for the zone in Access Manager.

Syntax

string GetDisplayName()

Return value

The DisplayName property for the selected zone object. For example, if using OU=UNIX,OU=Zones for the zone named qa:

domain/UNIX/Zones/qa

If the zone is defined as a Services for UNIX (SFU) zone, the DisplayName returned ends in SFU. For example:

domain/UNIX/Zones/qaSFU

Discussion

In most cases, this method returns the same value as the zone. FullName property, for example, domain/UNIX/Zones/testing_lab, and they can be used interchangeably. However, f the zone is defined as a Services for UNIX (SFU) zone supporting the Microsoft Services for UNIX (SFU) schema, this method appends [SFU] to the zone name, for example domain/UNIX/Zones/testing_lab [SFU].

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 name of the zone  
wScript.Echo “Zone name: “ & objZone.GetDisplayName  
...