Ismemberof is not working in scoped app
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2023 03:53 PM
Hi Community
A field should be editable to the members of the Assignment group(assignment group backend value = network_security_group) . I wrote the below mentioned code on a Field level Write ACL but it is not working. Can you please take a look and let me know where am I going wrong ?
The first 2 conditions are working but the 3rd condition for "ismemberof" is not working.
Quick question - "ismemberof" doesnot work in scoped app ??
if (gs.hasRole('x_cld_fsg.FSG_CLD_SECURITY') || current.network_iga_contact == gs.getUserID() || gs.getUser().isMemberOf(current.network_security_group.getDisplayName().toString())) {
answer = true;
} else {
answer = false;
}
Thanks in advance
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2024 02:32 AM
Any Solution to this question? Its not working for me also in scoped app. @Ankur Bawiskar @knopbrent