Hi,would be glad if someone could help me out on this.I need to create a document from the web as a background task.I am doing this using an agent called from the web.In the doc I create I need to store the user name of the person who is logged in.
The session.username property returns the server name(as it should).Is there any way I can get the name of the user who is invoking the agent?
Make sure the agent you are firing is set to “run as Web user”.
You can use session.EffectiveUserName to get the user’s name.
You can also create a field on the form with the formual @UserName and it will contain the name of the authenticated user, or if the user hasn’t authenticated it will contain “Anonymous”.
Rocky Oliver
Sapphire Oak Technologies
EML: rock@sapphireoak.com
**The progress they’re making in finding a cure for male pattern baldness is all good and well, but I’ll be a lot happier when they find a cure for male pattern ugliness.