cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

How to fetch AD Group members in SharePoint Field

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.

0 Kudos
Reply
3 Replies
Workflow Hero

Re: How to fetch AD Group members in SharePoint Field

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.

 

Accept as Solution Reply
Workflow Hero

Re: How to fetch AD Group members in SharePoint Field

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.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: How to fetch AD Group members in SharePoint Field

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

0 Kudos
Accept as Solution Reply