Bruce, If the remote_user is what you want, you can call the PASE APIs to retrieve any environment variable or call QtmhGetEnv from RPG IV to retrieve them. Bob Cozzi Cozzi Consulting www.rpgiv.com -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Nathan M. Andelin Sent: Thursday, July 17, 2003 8:06 AM To: Web Enabling the AS400 / iSeries Subject: Re: [WEB400] Retrieving user name Bruce, The REMOTE_USER environment variable contains the user ID. The Net.Data reference provides the syntax for retrieving "environment" variables like this. http://www.relational-data.com/rdwebshr/isamp/environment.isp Nathan M. Andelin www.relational-data.com ----- Original Message ----- From: <Bruce.Odum@xxxxxxxxxxxxxx> To: "Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx> Sent: Thursday, July 17, 2003 6:42 AM 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 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.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.