Indicates whether the map object is writable.


bool IsWritable {get;}

Property value

Returns true if the map object is writable by the user, or false if the map object is not writable.


This property returns a value of true if the user accessing the map object in Active Directory has sufficient permissions to change the map object’s properties.


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.
store.Attach objZone.ADsPath, "jae.smith", "pas$w0rd"
'Open the generic map type named "Workstations IDs"
Set map ="Workstations IDs")
'Check whether the map is writable
If not map.IsWritable then
   wScript.Echo “No write permission for ” & map.Name
end if