Indicates whether this UNIX user is not associated with a corresponding Active Directory user.


bool IsOrphan {get;} 

Property value

Returns true if the corresponding Active Directory user for a UNIX profile is not found, or false if the corresponding Active Directory user for the UNIX profile exists.


This property can be used to determine whether the Active Directory user associated with a UNIX profile has been deleted from Active Directory.


The following code sample illustrates using IsOrphan in a script:

'Get the zone object
Set objZone = cims.GetZone("")
'Check for Orphan Users in the zone
For each profile in objZone.GetUserUnixProfiles
if profile.IsOrphan then
      wScript.Echo “Orphan user: ” & profile.Name
   end if