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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

get UserGroup using getCurrentUser of CurrentSessionInfo thingworx 9.1

VaibhavShinde
16-Pearl

get UserGroup using getCurrentUser of CurrentSessionInfo thingworx 9.1

Hi ,

I am trying to get UserGroup using getCurrentUser . and i tried using below line

var result = Resources["CurrentSessionInfo"].GetCurrentUserGroups();

but it returns infotable with multiple groups(including default composer). i want only Custom group returned in String.

even i tried to iterate from infotable but i am unable to do. can someone help me to get it?

 

Thanks

1 REPLY 1

This is the result from my service in 8.5

zyuan1_0-1615448787270.png

Doesn't seem like it works as my expectation.  What's your service result and your expected output?

Top Tags