This content has been marked as final. Show 5 replies
you can get user key from UserManager's search method result.
or use getDetails method from UserManager API
the search method requires a search criteria.
my situation is an admin is logged in and he is working on a user profile.
this invokes a event handler
so inside the event handler orch.getTarget().getEntityId(); gives me target users key
but i also need the logged in users key.
and i dont have a critetia to search the logged in user.
Sorry i didn't read it correctly. Try below
it gave me userId from there i can get userKey.
Can you let me know where can i get the API reference for event handlers.?