IsForeign
Indicates whether the corresponding Active Directory group for a UNIX profile is in a different Active Directory forest than the forest associated with the group profile in the zone.
Syntax
bool IsForeign {get;}
Property value
Returns true
if the UNIX profile is associated with an Active Directory group in a different forest.
Discussion
If the Active Directory group is in a different forest than the one associated
with a top-level IBM Security data object (Cims
object), the property returns true
.
false
for newly-created groups before the
group object is committed to Active Directory.Example
The following code sample illustrates using IsForeign
in a script:
...
'Get the zone object
Set objZone = cims.GetZone("ajax.org/UNIX/Zones/pilot")
'Check the forest for groups in the zone
For each profile in objZone.GetGroupUnixProfiles
if profile.IsForeign then
wScript.Echo profile.Name
end if
next
...