AnsweredAssumed Answered

Get real user when using <runas>

Question asked by simon on Apr 15, 2009
Latest reply on May 1, 2009 by damiar

I'm running a webscript with the <runas> parameter in my XML configuration:
<authentication runas="someuser">user</authentication>
This works fine, the webscript runs with the privileges of the specified user. It also returns "someuser" when I ask the current user's username:
model.username =;
So far so good but is there a way to know the real user (and not the runas user)? I would like to know who is running the script.