And later on...

  @DTW_ASSIGN(current_user, REMOTE_USER)

Where current_user is the var you want to manipulate.

If you're not using, you could use an initial 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,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

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 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.