현재사용자ID (1) 썸네일형 리스트형 현재 사용자 ID 정보 가져 오기(Aura, lwc, apex, vf) 현재 사용자 ID를 가져오는 방법을 알아 보겠습니다. Apex Class // Apex Class public static Id getCurrentUserIdByApex() { return System.UserInfo.getUserId(); } System.debug('# userId : ' + getCurrentUserIdByApex()); 결과 # userId : 0056F00000A1jLGQAZ Aura Component Aura Component User Id : {! v.userId } ({ doInit : function(component, event, helper) { let userId = $A.get("$SObjectType.CurrentUser.Id"); console.log(userI.. 이전 1 다음