Name

Gets or sets the map name.

Syntax

string Name {get; set;}

Property value

The map name.

Discussion

You can specify any string for this property regardless of the type of NIS map.

Exceptions

Name throws an ArgumentException if you try to set a value that is null, empty, or greater than 64 characters.

Example

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

...  
'Specify the zone you want to work with  
set objZone = cims.GetZoneByPath("LDAP://CN=pilot,CN=unix,DC=quantum,DC=net")  
'Create the Store object  
Set store = CreateObject("Centrify.DirectControl.Nis.Store")  
'Attach to the target zone  
'Provide the path to the zone and username and password.  
objStore.Attach objZone.ADsPath, "jae.smith", "pas\$w0rd"  
'List map names  
For each map in objStore  
wScript.Echo map.Name  
end if  
...