Skip to main content
Starley Flynn (Salesforce) 님이 * Lightning Now! *에 글을 올렸습니다

Do we need to cal an apex controller to get current user info.  I saw this in a forum post: 

var userId = $A.get("$SObjectType.CurrentUser.Id");

Console.log(userId);

but don't see the supporting documentation?  Anyone know if lightning data service can be used to retrieve current user info?

댓글 1개
0/9000