Gets or sets the map name.


string Name {get; set;}

Property value

The map name.


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


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


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