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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! 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.

ACCEPTED SOLUTION

Accepted Solutions
qngo
12-Amethyst
(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
12-Amethyst
(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.

Announcements


Top Tags