×
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.
Here's one way to do this (likely not the best way but...)
Create a "dummy" profile with a constant password, use the QSYCHGPW API to
validate the new password being keyed by the user. If it fails the check
then send message to user, if it passes then use the CHGUSRPRF to use the
new password on the user's profile & reset the "dummy" profile back to
it's standard password for the next use.
From: "Hockchai Lim" <lim.hock-chai@xxxxxxxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx,
Date: 12/15/2011 11:23 AM
Subject: Re: Exist if profile exist and validating password
Sent by: midrange-l-bounces@xxxxxxxxxxxx
unfortunately, I won't be able to use QSYCHGPW api. The project is for
user
to reset/change their password because they have forgotten what their
existing password is.
"Brian May" wrote in message
news:mailman.18431.1323968434.2520.midrange-l@xxxxxxxxxxxx...
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
As an Amazon Associate we earn from qualifying purchases.