- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2019 06:49 AM
Hello,
I am looking to pull a report on inactive users that still have roles and groups assigned to them. How do i query this report? Please help with a script if it is required.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2019 06:51 AM
report on the sys_user_grmember table and filter for where user.active is true.
Best practice is to assign roles to groups and have users inherit their roles that way. If you've assigned roles directly to users you'll need to report on the sys_user_has_role table as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2019 06:51 AM
report on the sys_user_grmember table and filter for where user.active is true.
Best practice is to assign roles to groups and have users inherit their roles that way. If you've assigned roles directly to users you'll need to report on the sys_user_has_role table as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2019 07:01 AM
Okay trying that now. Will let you know.
How about using a Sys ID to pull the report?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2019 07:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2019 07:17 AM
sorry, meant user.active = false. You know you can use your own intuition as well as getting input from people on the community you know 🙂