What is ismember of method?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2020 09:42 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2020 09:48 AM
Hi,
gs.getUser().isMemberOf(groupName);
This method is used to check logged user is a member of any group.
Thanks,
Kunal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 09:50 AM
Hi ,
What if we want to check a user from multiple groups?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2020 11:22 AM
Hi,
isMemberOf():
The values of isMemberOf are identifiers for groups to which the containing entity belongs.
isMemberOf() will check is any member of the group or not.
gs.getUser().isMemberOf(groupName);
Hope this helps!
If I have answered your question, please mark my response as correct and/or helpful.
Thanks,
Sriram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 09:48 AM
Hi Sriram,
What if we want to check a user from multiple groups?