Indicates whether the user profile object is writable for the current user’s credentials.


bool IsWritable {get;} 

Property value

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


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


The following code sample illustrates using IsWritable in a script:

'Get the zone object
Set objZone = cims.GetZone("")
'Get the Active Directory user object
set objUser = cims.GetUser("")
'Get the UNIX profile for the user
profile = objUser.UnixProfileByUid(10001)
'Check whether the user’s UNIX profile is writable
if not profile.IsWritable then
   wScript.Echo “No permission to change the UNIX profile!”
end if