Indicates whether the data associated with the computer object is writable by the current user.


bool IsWritable {get;}

Property value

Returns true if the computer object is writable, or false if the object is not writable.


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


The following code sample illustrates using IsWritable for a computer object in a script:

set objZone = cims.GetZone(" zone")
'Identify the computer account
Set objComp = cims.GetComputer("”) 
If not objComp.IsWritable then
   wScript.Echo “You cannot save changes to this computer account!”
end if