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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Built-in API/service to get user and group both

TanmeyTWX
17-Peridot

Built-in API/service to get user and group both

Hi,

Is there any built-in method to fetch details of a User with its Group information.

We have methods like: GetMembers(), GetUsersInGroup(params),etc but none of them return table with columns of Users and corresponding Groups.


Case: I want to display Users list with their different groups asigned.Hence,its possible one User might belong to more than one Group.


But we get usual output like below.

Any comments on this?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
qngo
5-Regular Member
(To:TanmeyTWX)

Hi,

You can loop through all users and call GetGroups() on each of them and create the table wanted.

View solution in original post

2 REPLIES 2
qngo
5-Regular Member
(To:TanmeyTWX)

Hi,

You can loop through all users and call GetGroups() on each of them and create the table wanted.

Wrong query posted. Not required to be resolved.

But Thanks Quang-Dung Ngo for the reply.

Top Tags