Check logged in user is belongs to anyone of these Department or not
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 03:31 AM - edited 07-21-2023 03:45 AM
Hi All I have these departments starting with IOT I need to check whether the logged-in user belongs to these departments or not if he belongs to any one of these departments we return the value true others wise false how we can achieve with client script and script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 03:39 AM
Hi @Somasekhar6 ,
You can use onload client script and in that you can use getReference method and use it to dotwalk to department field,once you have it you can use if conditions to check if it matches the above mentioned department and return true false according to that.
Thanks,
Kunal