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.

Not able to impersonate user, the list is empty

Siris
Tera Contributor

Hi, 

I am not able to impersonate users, the list is empty.  Can anyone help me to solve this issue??

5 REPLIES 5

Dr Atul G- LNG
Tera Patron

Hi @Siris 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0726447#:~:text=This%20can%20....

This can occur when orphaned records, or records where the user is empty, exist in the User Roles [sys_user_has_role] table. Orphaned records should never exist on the sys_user_has_role table, and they can cause issues if they do.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

AndersBGS
Tera Patron

Hi @Siris ,

 

 is the user active? is it a system user? Can you provide some more details?

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Siris
Tera Contributor

My Issue is I am not even able to delete the records from sys_user_has_role table, even though I find some records which are user empty

 

Hi @Siris 

Do you have admin rights, or is there an ACL blocking you? When you try to delete, what error are you getting? Can you share a screenshot?

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************