Indicates whether the NIS map storage object is readable.


bool IsReadable {get;}

Property value

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


This property returns a value of true if the user accessing the NIS map storage object in Active Directory has sufficient permissions to read its properties.


IsReadable may throw one of the following exceptions:

  • ApplicationException if the store entry cannot be located.
  • COMException if there is an error in a call to the underlying interface.


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=offshore,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, "tae.parker", "9days^"
'Check whether the map node is readable
if not store.IsReadable then
   wScript.Echo “No read permission. Quitting application ...”
end if