get UserGroup using getCurrentUser of CurrentSessionInfo thingworx 9.1
Mar 10, 2021
08:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 10, 2021
08:16 AM
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
Labels:
- Labels:
-
Best Practices
1 REPLY 1
Mar 11, 2021
02:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 11, 2021
02:47 AM
This is the result from my service in 8.5
Doesn't seem like it works as my expectation. What's your service result and your expected output?
- Tags:
- his
