cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the authenticatedUserId in a script task ?

jerem
Champ in-the-making
Champ in-the-making
Hi guys,

Do you know if it is possible to get the authenticatedUserId in a script task ?
I know it is possible in a service task by calling "Authentication.getAuthenticatedUserId()" but is it the only solution ?

I searched on the forum and didn't find any help for this.

Thanks,

Jerem
2 REPLIES 2

trademak
Star Contributor
Star Contributor
You should be able to use the same Authentication class from a groovy script for example.

Best regards,

jerem
Champ in-the-making
Champ in-the-making
Thanks for the answer.

I have tried and it works.

Thanks,

Jerem