Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

create data base view of : group users with thier roles

VISHLAVATH NIRO
Kilo Contributor

create data base view of : group users with their roles. can you help me out of this 

 

1 ACCEPTED SOLUTION

Not applicable

Hi @VISHLAVATH NIROSHA ,

You could create a database view to get this info.

  1. System Definition -> Database Views
  2. Create a new view with name u_user_group_role and save.
  3. Now you can add the view tables as follows :

find_real_file.png

Then on your navigator type : u_user_group_role.list

Finally:

Add the Group, User, Role field to the list and then you can export it as a report
find_real_file.png

 

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

View solution in original post

2 REPLIES 2

Not applicable

Hi @VISHLAVATH NIROSHA ,

You could create a database view to get this info.

  1. System Definition -> Database Views
  2. Create a new view with name u_user_group_role and save.
  3. Now you can add the view tables as follows :

find_real_file.png

Then on your navigator type : u_user_group_role.list

Finally:

Add the Group, User, Role field to the list and then you can export it as a report
find_real_file.png

 

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Hi Sandeep,

I have tried this but group against role mapping is not correct.

Re: Database view - ServiceNow Community

Please see my issue here. Kindly suggest.