
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2015 12:24 PM
When our system receives an email from any email address, a new user account is created in the local ServiceNow database. We do not have any trusted domains specified in the system property glide.user.trusted_domain currently.
New users are automatically assigned the generic "user" role when their account is created.
Where can I locate the script that is performing the automatic role assignment when a new user is created? I want to make sure that new users are not automatically assigned to that role.
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2015 01:00 PM
Search business rules or script includes where script contains "sys_user_has_role". That's the table that stores the relationship between a role and a user.
Alternatively, the role could be granted automatically because the user is being assigned to a group. If that's the case you're business rules and script includes aren't going to yield any results. Search where script contains "sys_user_grmember", which is the table that stores the relationship between a group and a user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2015 01:00 PM
Search business rules or script includes where script contains "sys_user_has_role". That's the table that stores the relationship between a role and a user.
Alternatively, the role could be granted automatically because the user is being assigned to a group. If that's the case you're business rules and script includes aren't going to yield any results. Search where script contains "sys_user_grmember", which is the table that stores the relationship between a group and a user.