Check AS400 password in PC environment

5 pts.
Tags:
AS/400
AS/400 security
Password authentication
I have a VBasic input program on PC which data will eventually be inserted into a physical on AS400. I would like to make the users to login this PC program. 1) Is it possible to verify their IDs and passwords against those on AS400 ? If possible, how am I going to do that ? I know it is impossible to retrieve the ID and password from AS400 but is it possible to send the ID and password to AS400 for checking ?
ASKED: February 14, 2008  9:52 AM
UPDATED: February 14, 2008  2:51 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

From your VBasic program call the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/QSYGETPH.htm”>Get Profile Handle API QSYGETPH</a>. This will allow you to validate the userid and password. After validating the password you will want to call the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/QSYRLSPH.htm”>Release Profile Handle API QSYRLSPH</a>.

Bruce Vining
<a href=”http://www.brucevining.com/”>http://www.brucevining.com/</a>

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following