收藏Developer Forums User (Inactive) (Salesforce Developer Forums) 提问于 #Apex2008年8月7日 15:03How to get the current User ID in a Apex classHow can I get the current Salesforce User ID in an Apex class?Any help is appreciated!Chris7 个回答排序按日期排序按最有帮助排序按日期排序加载更多评论...已采纳的回答Srini P (Testit)2008年8月7日 15:16You can get the current user id like this.UserInfo.getUserId() which returns the user id of the current user.添加评论撰写回答...粗体斜体下划线删除线项目符号列表编号列表添加链接代码块插入图像附加文件链接 URL取消保存0/9000回复
已采纳的回答Srini P (Testit)2008年8月7日 15:16You can get the current user id like this.UserInfo.getUserId() which returns the user id of the current user.