Returns a DirectoryEntry object for the Active Directory group account from Active Directory.
The directory entry for the UNIX group profile associated with the Active Directory group.
The DirectoryEntry object represents the service connection point associated with the group in the zone.
Note: This method can only be used in .NET programs because DirectoryEntry is a .NET-specific class for directory objects. This method cannot be used in COM-based programs.
GetDirectoryEntry throws an ApplicationException if the directory object cannot be retrieved—for example, if it has not been committed.
The following code sample illustrates using GetDirectoryEntry in a script:
... //Identify the group you want to work with IGroup group = cims.GetGroup("LDAP://CN=oracle1, CN=Users, DC=ajax, DC=org"); //Get the directory entry DirectoryEntry groupEntry = group.GetDirectoryEntry(); //Rename the group groupEntry.Rename("CN=oracle_dbas"); ...