Using net.data: %DEFINE REMOTE_USER=%ENVVAR And later on... @DTW_ASSIGN(current_user, REMOTE_USER) Where current_user is the var you want to manipulate. If you're not using net.data, you could use an initial net.data macro to retrieve the user info and any other interesting parms and pass them to your cgi. There's probably an API that can do it more elegantly than that, though. - John -----Original Message----- From: Bruce.Odum@xxxxxxxxxxxxxx [mailto:Bruce.Odum@xxxxxxxxxxxxxx] Sent: Thursday, July 17, 2003 7:42 AM To: Web Enabling the AS400 / iSeries Subject: [WEB400] Retrieving user name Is it possible to retrieve the user name that signed on when using the as400 for security. I would like to retrieve the name after the server validates the user so I can apply additional security at the application level. Once the user passes the initial signon when requested by the server and select a link I would like to look up the user name making the request and see if they are allowed to process that request. _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400. This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.