× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



QSYUSRI should give you what you need to verify the profile exists. The API you need for password changes is QSYCHGPW but it will require the old password and the new.

Brian May
IBM i Modernization Specialist
Profound Logic Software, Inc.
http://www.profoundlogic.com
937-439-7925 Phone
877-224-7768 Toll Free

              

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Hockchai Lim
Sent: Thursday, December 15, 2011 10:31 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Exist if profile exist and validating password

I'm working on a project that will allow user to reset his iseries password and re-enable his profile on their own. Having some difficulty with these two questions below and hoping someone can give me some pointers.

1) This project requires me to verify that the user profile entered on the screen exist on iseries. I'm thinking about using QSYRUSRI api to perform this verification. Would this api the best choice?

2) I'm planning to use CHGUSRPRF to perform the actual reset of the password and re-enable of the profile. I've noticed that CHGUSRPRF does not seems to perform that same password validation as the CHGPWD command does. CHGUSRPRF seems to accept any password. Is there an api that will allow me to make sure the password is acceptable before changing it thru CHGUSRPRF?

thanks


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1890 / Virus Database: 2108/4682 - Release Date: 12/15/11

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.