Skip to main content
1-Visitor
Mar 29, 2018 11:46 AM UTC
Solved

Get all user groups for given user

Hi Guys, 

as title says, I would like to create a service which would return list (infotable) of all UserGroups that given user is part of.

So far I was not able to do that.

Any ideas?

PaiChungAnswer
22-Sapphire I
Mar 29, 2018 1:22 PM UTC

The easiest way is the GetCurrentGroups from currentsessioninfo that is all the groups for the logged in user.

besides that I believe each user has a GetGroups service as well.

2 replies

PaiChung22-Sapphire IAnswer
22-Sapphire I
Mar 29, 2018 1:22 PM UTC

The easiest way is the GetCurrentGroups from currentsessioninfo that is all the groups for the logged in user.

besides that I believe each user has a GetGroups service as well.

Translate
tcoufal1-VisitorAuthor
1-Visitor
Mar 29, 2018 1:29 PM UTC

Thanks. That worked.

Translate