Skip to main content
1-Visitor
March 29, 2018
Solved

Get all user groups for given user

  • March 29, 2018
  • 2 replies
  • 4231 views

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?

Best answer by PaiChung

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
March 29, 2018

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.

tcoufal1-VisitorAuthor
1-Visitor
March 29, 2018

Thanks. That worked.