Video Screencast Help

Query Active Directory by Department

Created: 24 Jan 2014 • Updated: 03 Feb 2014 | 2 comments
This issue has been solved. See solution.

I've seen how to query AD to get a list of people using their managers Id ( ).   I would like to get a list of people by department rather than by manager. 

Is there a way to query AD by department name or any other value that doesn't required the Distinguished Name?

Operating Systems:

Comments 2 CommentsJump to latest comment

Justin Dybedahl's picture

Use the Get User List component and use the additional attributes section to specify an attribute of department with a value set to the name of the department.   You should get a variable array containing all of the users in that department.

M Rutledge's picture

Thank you Justin.  Switching to the Get User List component did the trick.