Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Assign Task - Saving completed user ID


Level 3

It saves the GUID (Global Unique Identifier) only. How can i see the name or the code like 'apink' .

3 Replies


Level 10
With LC ES update 1, you'll be able to use a user service to get that information.

In the current build, you can do an API call or use the JDBC service to query the database.

You can do something like SELECT * FROM edcprincipaluserentity where refprincipalid = 'GUID'



Not applicable
Jasmin, which service do I call to retrieve the real user ID, given the GUID/ I have update 1 now, but don't see which service to use.


Not applicable
nevermind, I found out. Using the UserManagerLookupService and the Fidn User service operation, I passed in the Task - User's ID which is the GUID. I created a user variable in the custom render process and assigned the output of Find User to that variable. I then used a SetValue service to set the user's user ID (real login id) to another variable of type string. It works great.