Check if user is a member of a group
‎Jun 25, 2014
01:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Jun 25, 2014
01:39 PM
Check if user is a member of a group
Is there a way to check if a user is in a particular group without using getmembers and iterating through the list?
1 REPLY 1
‎Jun 25, 2014
04:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Jun 25, 2014
04:32 PM
Hi David,
User's have a
GetGroups()
Service which returns an InfoTable of Groups. You can wrap this Service to create your own
IsMember()
Service to query the InfoTable returned byGetGroups()
and return a BOOLEAN value.Thanks,
Adam