Get Group Membership of User

Gets all groups of which the Active Directory user is a member.

Privileges

Normal.

Input Parameters

Name Type Required Description
User String Yes The common name of the user.
Domain String Yes

The name of the user object Domain. For example:

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

Output Parameters

Name Type Description
GroupList Collection The list of groups of which the user is a member.
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Details of any execution errors with this Object.

Example Input Parameters

Name Type Required Example
User String Yes Administrator
Domain String Yes Abc.com

Reviewed: CB

09/02/2026