Ajouter aux favorisDeveloper Forums User (Inactive) (Salesforce Developer Forums) a posé une question dans #Apex7 août 2008, 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 réponsesTriTrier par dateTrier par ordre d’utilitéTrier par dateChargement de commentaires supplémentaires...Réponse acceptéeSrini P (Testit)7 août 2008, 15:16You can get the current user id like this.UserInfo.getUserId() which returns the user id of the current user.Ajouter un commentaireRédiger une réponse...GrasItaliqueSoulignerBarréListe à pucesListe numérotéeAjouter un lienBloc de codeInsérer une imageJoindre des fichiersURL du lienAnnulerEnregistrer0/9000Répondre
Réponse acceptéeSrini P (Testit)7 août 2008, 15:16You can get the current user id like this.UserInfo.getUserId() which returns the user id of the current user.