Get a user from a specific department for a specific view
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2024 01:42 PM
I am using:
if(gs.getUser().isMemberOf('department')
It will work for retrieving a user in a specific group, but not a department.
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2024 09:17 PM
Hello @User393503
use this
gs.getUser().getRecord().getValue('department')
if my answer has helped with your question, please mark my answer as accepted solution and give helpful
Regards,
Suyash
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2024 09:19 PM
Hello @User393503
use this
gs.getUser().getRecord().getValue('department')
if my answer has helped with your question, please mark my answer as accepted solution and give helpful