How to get SalesForce User ID for lightning:

Go to SalesForce Setup:

Go to Administration, open users category and click on users. On the list that will open, click on your user.

Your User ID is on the URL, is after “%2f” and ends berfore “%“ in this case is 0055Y00000FiUOI

Did this answer your question?