- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2023 11:58 PM
I have created a UI action button on server form.
I need that UI action button should be visible to the logged in user if
1) the user belongs to the group which is in "assigned_to" field of that server.
Example:
In this case the logged in user should be a part of GLBL_CloudCoe group, in order to see the button or to use the button.
Here is my UI Action:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2023 12:27 AM
gs.getUser().isMemberOf(current.assignment_group.name) worked for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2023 12:25 AM
@Hrishabh Kumar
gs.getUser().isMemberOf(current.assignment_group.toString())
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2023 12:27 AM
gs.getUser().isMemberOf(current.assignment_group.name) worked for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2023 12:37 AM - edited ‎05-18-2023 12:38 AM
both work...