Get AD Group Information

Gets AD group object information from Active Directory.



Input Parameters

Name Type Required Description
Domain Name String Yes

The name of the user object Domain. For example:

  • DC=California
  • DC=local
  • California.local

CommonName String Yes The CommonName of the group.
OU String No Organizational Unit container where the group object is contained. If undefined, the group object in the standard Users container for the domain will be retrieved.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.
ServerList String List of servers including: Name, samAccountName, DistinguishedName, ADSPath, InstanceType, ObjectGUID, ObjectSID

Example Input Parameters

Name Type Required Example
Common Name String Yes Jsmith
Domain String Yes
OU String Yes OU=Marketing,DC=ABC,DC=com