Search code examples
active-directoryldap-querynintex-workflowou

LDAP query to show which OU the user is in


I am using Nintex LDAP query action and I need to get the OU the user is currently in before moving the user to a different OU. How can I get the user's current OU using LDAP query?


Solution

  • I have no experience with Nintex, but the OU can be found in the distinguishedName AD attribute. That attribute contains the name of the account, the OU and the domain.