What is the best way to give ALL users a role by default.

GregG6
Tera Contributor

We need to give all existing and new users a role and I'm trying to figure out if there is a way to do that besides manually adding it to each user.

4 REPLIES 4

Prasad Dhumal
Mega Sage
Mega Sage

Hello GregG

Follow below link

Add role to every user | ServiceNow Docs

You can configure Insert Business Rule on sys_user table with the script given in above link

Appli
Mega Sage
Mega Sage

Hi, consider to create a new group and assign a role to this group. To add existing users to the group you may use a background script, adding new users to the group can be accomplished with a help of either Flow or BR.

Hope it helps

Hope it helps

Allen Andreas
Administrator
Administrator

Hi,

If you don't mind, can you share the business need for this?

I'd love to hear what you need this for!

Please mark reply as Helpful, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

We are implementing Safe Workplace and all users need a specific role in order to utilize the application.