Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Impersonate User not showing User ID

Syaharruddin
Mega Guru

When impersonating user on a developer instance, the drop down list will show the user Name & User ID. However, in my company instance, it's only showing the user Name.

I could not figure out why it's doing this. All UI pages, macros & script includes related to impersonation is out of the box.

Normal impersonation ...
find_real_file.png

What I'm seeing ...
find_real_file.png

*Note:
Not all users have User ID. Some of users in the list above does though.

Any input is appreciated. It's a minor nuisance that I'd rather not open a HI ticket for.

Thanks in advance.

 

1 ACCEPTED SOLUTION

Syaharruddin
Mega Guru

I gave up and finally created a HI incident. The solution is so simple, but you wouldn't think to do so.

It's a known issue in Jakarta & Kingston. KB0693438 : Impersonation dialog doesn't show User ID values

Basically, in your User table list, make sure the Mobile view contains both Name & User ID field. That's it.

View solution in original post

10 REPLIES 10

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Same issue if you go to "impersonate_dialog.do"? And I guess you have no problem seeing the user name when you go to the user list?

//Göran

impersonate_dialog.do looks like the old UI15 / UI11 interface. It doesn't have a drop down, but a reference field. Not really the same issue since you can modify the list on a reference field. Same on developer instance as well.

find_real_file.png

Forgot to add that I can see the User ID (user_name) on the User table.

VarunArulmani
Mega Expert

I have faced a similar issue. Go to sys_user table and verify what field has display value set to 'True'. If the display value is coming from a 'Calculation' then you have to investigate the corresponding script include. 

 

find_real_file.png

None of the fields are set as display. Same with my developer instance.

Just for testing purposes, I set the user Name field as display. No changes to impersonation functionality.

However, things look different when I set the User ID (user_name) field as display. The impersonation drop down list shows the Name if the user doesn't have a User ID. For users with a User ID, it's showing it twice. Same behavior in my developer instance if I set the User ID as display.

find_real_file.png