IsWritable

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

Syntax

bool isWritable {get;}

Property value

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

Discussion

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

Example

The following code sample illustrates using this property 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 writable
If not objZone.IsWritable then
   wScript.Echo “You do not have permission to modify the zone”
end if
...