FavoritosDeveloper Forums User (Inactive) (Salesforce Developer Forums) perguntou em #Apex7 de ago. de 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 respostasClassificarClassificar por dataClassificar por mais útilClassificar por dataCarregar mais comentários...Resposta aceitaSrini P (Testit)7 de ago. de 2008, 15:16You can get the current user id like this.UserInfo.getUserId() which returns the user id of the current user.Adicionar um comentárioEscrever uma resposta...NegritoItálicoSublinhadoTachadoLista com marcadoresLista numeradaAdicionar linkBloco de códigosInserir imagemAnexar arquivosURL do linkCancelarSalvar0/9000Responder
Resposta aceitaSrini P (Testit)7 de ago. de 2008, 15:16You can get the current user id like this.UserInfo.getUserId() which returns the user id of the current user.