Skip to main content
How can I get the current Salesforce User ID in an Apex class?

Any help is appreciated!

Chris

7 Antworten
  1. 7. Aug. 2008, 15:16
    You can get the current user id like this.

    UserInfo.getUserId() which returns the user id of the current user.

0/9000