|
You should use the QSYGETPH api to validate the user profile and password. This api returns a profile handle if successful or the cpf message (in the QUSEC construct) if validation fails. Bryan Yates SR Systems Analyst/Programmer Information Technology Collin County Government http://www.collincountytexas.gov mailto:byates@xxxxxxxxxxxxxxxxxxxxx -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Silvers Sent: Thursday, August 04, 2005 7:48 AM To: rpg400-l@xxxxxxxxxxxx Subject: Check user password API? All, I would like to check an iSeries username and password using application security on the web. I thought there was an API where I could pass the username and password and the return would be true or false. When I was thinking about this initially, I was considering the API's QSYRUPWD (Retrieve Encrypted User Password) and QSYSUPWD (Set Encrypted User Password). After reading these API's it is quite apparent that they are intended for comparison of system to system, not for validating a user login. What I would like to accomplish is to have an RPG program where I can pass the username and password and validate against the iSeries username/password. Anyone have any ideas/examples? Thanks Mike ======================================= Mike Silvers Senior Programmer/Analyst iSeries Websphere Certified Hainey Business Systems Branch Office: (410) 219-2695 Cell: (443) 521-3887 Main Office Direct: (717) 771-2358 Main Office General: (717) 718-9601 ext 7139 Fax: (877) 804-9589 http://www.hbs-inc.com <http://www.hbs-inc.com/> AIM: IBMJavaMan =======================================
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com 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.