IsReadable

Determines whether this zone object’s properties are readable for the user whose credentials are presented.

Syntax

bool IsReadable {get;}

Property value

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

Discussion

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

Example

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

...  
'Specify the zone you want to work with  
set objZone = cims.GetZone("ajax.org/UNIX/Zones/test_lab")  
'Check whether the zone is readable  
If not objZone.IsReadable then  
wScript.Echo “You do not have read permission for this zone”  
end if  
...