GetGroupUnixProfileByDN
Returns the UNIX profile for a group in the zone using the distinguished name (DN) of the profile.
Syntax
IGroupUnixProfile GetGroupUnixProfileByDN(string dn)
Parameter
Specify the following parameters when using this method.
Parameter | Description |
dn |
The distinguished name (DN) of the group profile. |
Return value
The group profile with the distinguished name (DN) matching the distinguished name specified, or null if no matching group profile is found.
Discussion
The group profile is the service connection point associated with the Active Directory group object.
Exceptions
GetGroupUnixProfile throws a NotSupportedException if the zone schema is not supported.
Example
The following code sample illustrates using this method in a script:
... 'Specify the zone you want to work with set objZone = cims.GetZoneByPath("LDAP://CN=default,CN=zones,CN=centrify,CN=program data,DC=arcade,DC=com") 'Get the group profile by DN set objComputer= objZone.GetGroupUnixProfileByDN(“CN=legal,CN=Groups,CN=default, CN=Zones,CN=centrify,CN=program data,DC=arcade,DC=com") ...