You need to sign in to do that
Don't have an account?
Chamil Madusanka
Current user Id in apex class
Hi,
How can I get current user Id in apex code? I tried {!$User.Id}. But it didn't work. How to resolve it?
Thanks in Advance
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Hi,
How can I get current user Id in apex code? I tried {!$User.Id}. But it didn't work. How to resolve it?
Thanks in Advance
Hello,
Can you try this
UserInfo.getUserId()