What is the significance of 'ACTIVE' field on User role table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 02:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 02:42 AM
Hi,
That State field is set when you add a specific role to user.
if you remove the role of user record will be deleted under( sys_user_has_role)
If you add role to user it will create a record on this table sys_user_has_role
State is active default.
If it is active user has role and for other states user requested but not provided the role.
Hope it helps!!
Please Mark ✅ Correct, Thanks!!
Regards
Pavankumar
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2022 01:56 AM
Hi Pavan,
I did not understand your statement "If it is active user has role and for other states user requested but not provided the role."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 09:49 AM
Hi,
for example when you add any role to the existing users then record is created on this table(sys_user_has_role) and State is Active.
But if a user requested for a role from catalog item then we use as Pending Approval and once
approved then only State is Active
Thanks,
Pavankumar
ServiceNow Community MVP 2024.
Thanks,
Pavankumar