Active Directory: Get user groups

Get all groups a user belongs to.

Help Centre › Building Processes

Get all groups a user belongs to.

Add it to a process

In the process designer, open the Add step tab. Find Get user groups under Active Directory › Groups, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Connection nameYesConnection name
User DNYesUser's distinguished name
VariableYesName of the variable where the result will be stored Default: groups.

What it gives back

  • {groups} – List of group DNs

See all Active Directory steps.

Errors

ErrorDescription
Connection not foundNo connection exists with the specified name
User not foundNo user was found with the specified DN

Tips

  • Returns direct group memberships including nested groups via the memberOf attribute

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.