Retreiving the usersname in a Domino application

Hi

I have a domino application. When A document is opened through the browser a Lotusscript agent is starting through the webqueryopen event. How can I catch the usersname in that same agent that is starting? Users has to login to access the application.

Regards

Subject: Retreiving the usersname in a Domino application

NotesSession.EffectiveUserName where the agent property “Run as web user” is checked

Subject: RE: Retreiving the usersname in a Domino application

Hi

Thank you or response.

Is there no other way? Maybe through cgi variables?

Regards