Pages
Home
About Me
For Contact
September 5, 2013
How to get the current User ID in an Apex class?
UserInfo.getUserId()
is used to get the current User ID in an Apex class.
String Uid = UserInfo.getUserId();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment