Find User with only the specified roles
This content was last updated in 2018. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2014 07:23 AM
I need to find the users in my system that only has the 2 roles am interested in and nothing else. The report system only lets you find either one role or the other role but I would like to know how to get users with 2 roles that I need (Ex: Admin,itil...and no other roles). Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2014 07:30 AM
Run a report on the User Role [sys_user_has_role) table adding your 2 roles to the criteria.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2014 07:34 AM
I did but those user have also other roles which am not interested. I just need to find the user with the roles I specified and nothing else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2014 07:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2014 07:55 AM
I had my hopes it would but it did not. just need the users with it_ess & it_requestor...if it has anything else it does not work. let me show you the result your conditions gave me (name, role):
| X Guy | template_editor |
| X Guy | it_ess |
| X Guy | it_requestor |
| X Guy | itil |
| X Guy | report_group |
| X Guy | it_ess |
| X Guy | it_requestor |
| X Guy | itil |
| X Guy | template_editor |
| X Guy | report_group |
| X Guy | survey_reader |
| X Guy | it_ess |
| X Guy | it_ess |
| X Guy | template_editor |
| X Guy | report_group |
| X Guy | report_group |
| X Guy | it_requestor |
| X Guy | itil |
| X Guy | it_requestor |
| X Guy | template_editor |
| X Guy | itil |
| X Guy | rm_task_admin |
| X Guy | scrum_user |
| X Guy | rm_product_admin |
| X Guy | task_editor |
| X Guy | rm_epic_admin |
| X Guy | rm_doc_admin |
| X Guy | rm_story_admin |
| X Guy | rm_sprint_admin |
| X Guy | scrum_admin |
| X Guy | project_user |
| X Guy | task_editor |
| X Guy | rm_test_admin |
| X Guy | task_editor |
| X Guy | project_manager |
| X Guy | project_portfolio_user |
| X Guy | rm_release_scrum_admin |
| X Guy | it_ess |
get the idea?