These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Get Identity of "On Behalf Of" user in aspx iPart

I'm trying to get the ID of the target user (the user select via the "On Behalf Of" functionality). While Asi.AppContext.CurrentIdentity.LoginIdentiy returns the ID of the logged in user, Asi.AppContext.CurrentIdentity.TargetIdentity just returns a user key.

How can I get the Target User's ID?