How to check users who has specific multiple roles using table filtering

Daichi Ishikawa
Giga Sage

I would like to check users who has specific multiple roles and the number of them using table filtering (without scripting).

(e.g. users who has itil role and catalog_admin role)

 

Does anyone have some answer to this question?

Any help would be greatly appreciated!!

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Daichi Ishikawa 

do like this

AnkurBawiskar_0-1669095392020.png

If my response helped please mark it correct and close the thread so that it benefits future readers.

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Daichi Ishikawa 

do like this

AnkurBawiskar_0-1669095392020.png

If my response helped please mark it correct and close the thread so that it benefits future readers.

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Nayan  Dhamane
Kilo Sage
Kilo Sage

Hello @Daichi Ishikawa ,

Please paste 'sys_user_has_role.list' on the application navigator. It will open the below table and use the condition along with it group it with user so you can find duplicate.Screenshot 2022-11-22 at 11.24.10 AM.png

 

As you can view above Andrew has only one 'itil' role similarly you can look for two 'itil' roles.

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

BR,
Nayan

If my answer solved your issue, please mark my answer as Correct & Helpful based on the Impact

Best Regards,
Nayan Dhamane
ServiceNow Community Rising Star 2023.

Daichi Ishikawa
Giga Sage

Thank you for your quick reply!!

I solved this problem to filter [sys_user] table by the multiple roles ("And" condition) as Ankur said.