Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

i need to set Role to false.

Rumanu
Tera Contributor

After termination, former employees  should:

Continue using their existing credentials and access the portal with limited access, 

so, what i m thinking, to remove existing roles , user will still be active, and assign one alumni role to the same user,

but in sys_user_has_role table "active " field is dot walked from user table, when i update the active field in roles table, in user table also its getting updated. without deleting roles can we achieve? 

Rumanu_0-1791358244104.png

 

7 REPLIES 7

glideFather
Tera Patron

ahoy @Rumanu,

 

could you describe in more details what you want to achieve?

Also, if you wrote any scripts, could you share or explain how are you manipulating the data?


✂-----Cutting-out-the---✦AI-noise✦---All-replies-written-and-vouched-for-by-GlideFather---

we are using same portal and restricting the Record producers, via user criteria.   so user can access only few services  in RP, but i wanted to remove existing roles from table , but its not happing.

Tanushree Maiti
Tera Patron

Hi @Rumanu 

 

To prevent unauthorized access and maintain strict security compliance, an employee’s access to company systems is immediately revoked upon termination of employment.

 

Therefore, former employees should not continue to use their existing corporate credentials to access the ServiceNow portal, even with limited access.

 

As I understand it, the Alumni Portal is a separate platform where former employees can register and access the portal using their personal employee ID/credentials as external users.

 

Refer this community article: Alumni Service Center

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

we are using same portal and restricting the Record producers, via user criteria.   so user can access only few services  in RP, but i wanted to remove existing roles from table , but its not happing.