Indicates whether the user profile object in Active Directory is readable for the current user credentials.


bool IsReadable {get;} 

Property value

Returns true if the UserUnixProfile object is readable, or false if the object is not readable.


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


The following code sample illustrates using IsReadable 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 readable
if not profile.IsReadable then
   wScript.Echo “No permission to read the UNIX profile!”
   wScript.Echo “UNIX login name: ” & profile.Name
end if