5 Replies Latest reply: Jan 13, 2012 3:50 PM by Michael Reese RSS

    How to capture logged in user on qvs hosted app?

    Michael Reese

      I need to be able to capture the user that is logged into the application when it's hosted on qvs.


      I have a qvw that is reloaded from Publisher and it uses section access.  If I open the file directly (not on server), the section access works and an NTNAME field contains solely the username I have logged in with.  Someone else can log in and they see their account.  So that's all good.  However, if I reload it with Publisher and then open the file via qvp, it sees the service account that was used to do the reload, not the account that is logged in.


      I've also tried to use osuer(), but that doesn't work in the onopen event on server either. 


      Any help would be appreciated.