function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
harry smith smithharry smith smith 

Hi, I can't find user ID in user detail. what shall I do .

Best Answer chosen by harry smith smith
bilal malikbilal malik
After u click on user, see the url id of user

https://ap2.salesforce.com/00528000005456e?noredirect=1&isUserEntityOverride=1

here in this url, /00528000005456e will be ur user id.

All Answers

Abhilash Mishra 13Abhilash Mishra 13
User id will be in the URL Of the user detail page. open page and look URL
https://yoursalesforceinstance.salesforce.com/00528000000xxxxx?noredirect=1&isUserEntityOverride=1
The 15 digit id wil be just after the salesforce.com/

aletrnatively you can also Query this Id from Workbech.
Let me know if you face any issue.

Regards
Abhilash Mishra
Hemant_SoniHemant_Soni
Hi Harry,
You should try this>>
1.Go to your developerConsole.
2.Nevigate to debug tab.
3.click on "Open execute anonymous Window".
4.And Put system.debug('Current User Id'+UserInfo.getUserId()); this line in your execute anonymous Window.
5.And Excute this code.
6.Then in bottom there is Log Section you find new created log.
7.Serach  Current User Id and you get Current User id.
For More Information about UserInfo Class Check below Link.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_userinfo.htm
Please Mark solved if this help you.
bilal malikbilal malik
1. Go to Setup | Administration Setup | Manager Users | Users.
2. Click the User's name. 
3. The ID is contained in the URL of the User detail page you are currently on and can be found in the browser address bar.
Please Mark solved if this help you.
Abhilash Mishra 13Abhilash Mishra 13
Hi harry ,
Did you find the solution for your problem.

-Abhilash
harry smith smithharry smith smith
Hi Abhilash, Unfortunately, not yet. Because I can't find URL Of my user detail page.
bilal malikbilal malik
check my reply and follow those steps.
harry smith smithharry smith smith
Hi Bilal, I followed those steps. but I can't see URL or anything that contains my user ID. It's my main problem.
bilal malikbilal malik
After u click on user, see the url id of user

https://ap2.salesforce.com/00528000005456e?noredirect=1&isUserEntityOverride=1

here in this url, /00528000005456e will be ur user id.
This was selected as the best answer
joh meijoh mei
Harry, click on your username, then copy and past your browsers URL here and someone can show you the UserId.
harry smith smithharry smith smith
ُThanks Joh, I got it already.
grant parkis 14grant parkis 14
Why does my lightning URL look like this for user detail page:

https://na132.lightning.force.com/lightning/setup/ManageUsers/page?address=%2F0054P00000AaL3G%3Fnoredirect%3D1%26isUserEntityOverride%3D1

I cannot seem to find the userId url
grant parkis 14grant parkis 14
forget it - when I go to peoples object i can select user and get the proper url, however going to user page via the setup menu does not give url page with userid