Burns, Bryan wrote:
Is there way to tell whether a user profile has a PASSWORD of
*NONE, and therefore cannot sign-on even though it's enabled and not expired, besides a PRTUSRPRF? The WRKUSRPF options
don't show it.

DSPAUTUSR shows that, but does not have an output file, so that command may not be preferable if a programmed response to such an inquiry is desired. However IIRC the model outfile [output file] for DSPUSRPRF for *BASIC detail for the type of information [TYPE() parameter] named QADSPUPB in QSYS [or QSYS29##] with a format name QSYDSUPB has a field [e.g. something like UPNOPWD] which includes an indication if the password setting is *NONE. Perform a request to DSPFFD QSYS/QADSPUPB and then review the text and column headings for the listed fields, looking for the text '*NONE' alluding to such an indicator [possibly as a value of '1' to suggest 'true'].

The Retrieve Authorized Users (QSYRAUTU) API and Open List of Authorized Users (QGYOLAUS) API purport to provide information similar to that of DSPAUTUSR.

Regards, Chuck

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2026 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.