Skip to main content
Nintex Community Menu Bar

How to fetch AD Group members in SharePoint Field

  • January 9, 2018
  • 3 replies
  • 25 views

Forum|alt.badge.img+1

I want a way around where i can fetch members of AD group in some field. So if in Nintex SharePoint form i select any AD Group, then with some java query / Nintex workflow, i can fetch all members of that group in either text field or People picker field.

Selection of AD group will be dynamic. SO i can select any group.

Please help me out.

3 replies

Forum|alt.badge.img+14
  • Scholar
  • January 9, 2018

in workflow you can use Query LDAP action for that purpose.

here is an example hoe to check whether an user is member of a group. in your case you just need to supply a proper query to enumerate AD group membership.

 


Forum|alt.badge.img+1

Thank you very much but i will be randomly adding AD groups. So, CN = IT Group etc cant be hard coded.Also, it wil be great if you can help me to know what parameters needs to add & where.

For example : DU = ? OU = ?

what needs to be entered.

Really appreciate your response.


Forum|alt.badge.img+14
  • Scholar
  • January 10, 2018

Thank you very much but i will be randomly adding AD groups

that's not a problem at all - you just need to prepare group name in advance into a variable and then reference the variable in the LDAP query action

it might look eg. like this

212035_pastedImage_1.png