IsOrphan
Indicates whether this UNIX group profile is an orphan.
Syntax
bool IsOrphan {get;}
Property value
Returns true
if the GroupUnixProfile object has no corresponding Active
Directory group object, or false
if the object has a corresponding Active
Directory group object.
Discussion
The UNIX group profile is an orphan if the corresponding Active Directory group object is missing.
Exceptions
IsOrphan
throws an ApplicationException
if the group profile does not exist.
Example
The following code sample illustrates using `IsOrphan in a script:
...
'Identify the zone you want to work with
set objZone = cims.GetZone("ajax.org/UNIX/Zones/eur007")
'Check for orphan profiles
for each profile in objZone.GetGroupUnixProfiles
If profile.IsOrphan then
wScript.Echo profile.Name
end if
next
...