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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

How to get Users for Particular Organization

done11
1-Visitor

How to get Users for Particular Organization

Hi All,

How to find all the users of Organization and its Units. Tried using getMembers service but I am getting a list of UserGroups.
As per the custom solution, I need to iterate through all UserGroups of the organization to get a list of user and remove duplication. Any feasible solution?

Thanks in advance.

2 REPLIES 2
supandey
19-Tanzanite
(To:done11)

This is discussed under the thread How to list Users that belong to an organizational unit?

Hope this is of some help.

ankigupta
12-Amethyst
(To:done11)

Hi Digital One​,

Have you added User Groups in the organization and want to get list of users in the organization ? If yes, you can use the custom method you have mentioned i.e. to iterate through all UserGroups of the organization to get a list of user and remove duplication.

If you have added Users in the organization; you can simply use getmembers and other service to get the list of members.

I hope it helps.

Thanks,

Ankit Gupta

Announcements


Top Tags