TAA Tools
DSPPWDINF       DISPLAY PASSWORD INFORMATION           TAASEGF

The Display Password  Information command displays the  information for
one or  more profiles relative to the  password and signon information.
The password itself is not displayed.

You must have *ALLOBJ special authority to use DSPPWDINF.

A typical command would be:

            DSPPWDINF

If  the command is entered interactively,  a spooled file is displayed.
There would be one line  per user profile with the password  and signon
information.

Options exist such as:

        - Select user profiles by a generic name
        - Select on whether a password can be entered
        - Select on status (*ENABLED/*DISABLED)
        - Select on the last password change date
        - Select on the last signon date

DSPPWDINF escape messages you can monitor for
---------------------------------------------

None.  Escape messages from based on functions will be re-sent.

Command parameters                                    *CMD
------------------

   USRPRF        The  user  profile  name  to display  the  information
                 for.  The default is *ALL.

                 A  generic user  profile name  (or a single  name) may
                 be entered.

   PWDNONE       Whether to select if a  password may be entered.   The
                 default  is   *ALL  meaning   all  profiles   will  be
                 selected  regardless  of whether  they  can  be signed
                 onto or not.

                 *YES may  be entered  to  select only  those  profiles
                 which are specified as password = *NONE.

                 *NO  may be  entered  to  select only  those  profiles
                 which can be signed onto.

   STATUS        Whether to  select on the status of  the profile.  The
                 default   is  *ALL   meaning  all   profiles  will  be
                 selected regardless of  whether they are  'enabled' or
                 'disabled'.

                 *ENABLED  may   be  entered   to  select   only  those
                 profiles which are 'enabled'.

                 *DISABLED   may  be  entered  to   select  only  those
                 profiles which are 'disabled'.

   PWDCHGDAT     A two  part parameter  that  allows selection  on  the
                 last   password   change  date   with   a   relational
                 operator.    The date  defaults  to  *ALL meaning  all
                 dates are selected.

                 If a specific date is  entered (job format), the  date
                 will  be compared  based  on the  relational  operator
                 (defaults  to *GE).   For  example,  if you  entered a
                 date  of  Jan  1,  2010 and  used  the  *GE relational
                 operator, all  user profiles  would  be selected  that
                 have  had a  password change  since Jan  1, 2010.   If
                 the  *LE   relational  operator  was  used,  all  user
                 profiles  would  be  selected  that  have  not  had  a
                 password change since Jan 1, 2010.

   SIGNONDAT     A  two part  parameter  that allows  selection on  the
                 last  signon  date with  a relational  operator.   The
                 date  defaults   to  *ALL   meaning  all   dates   are
                 selected.

                 If a specific  date is entered (job format),  the date
                 will  be  compared based  on  the relational  operator
                 (defaults  to  *GE).   For example,  if you  entered a
                 date  of Jan  1,  2010  and used  the  *GE  relational
                 operator,  all user  profiles  that  have been  signed
                 onto  since Jan  1, 2010  would be  selected.   If the
                 *LE relational operator  was used,  all user  profiles
                 would  be selected  that  have  not been  signed  onto
                 since  Jan  1,  2010.   This  would  include all  user
                 profiles that have never been signed onto.

   PWDEXP        Whether to  select those  profiles that  have or  have
                 not  been  expired.   A  profile  is  expired  if  the
                 expiration  date  has   been  past  without  the  user
                 signing on.

                 *ALL is the default to select all user profiles.

                 *YES   may  be  entered  to  select  only  those  user
                 profiles that have been expired.

                 *NO  may  be  entered   to  select  only  those   user
                 profiles that have not been expired.

   REFRESH       An  option  to  determine  if  the  DSPUSRPRF  OUTFILE
                 function  is used to refresh the  TAASECKP file in the
                 TAASECURE library.   The default  is *YES meaning  the
                 file will be refreshed.

                 *DAYCHG may  be specified  which means  the file  will
                 be  refreshed if  the last  time  the file  was output
                 was on  a different  day.   *DAYCHG assumes  that  you
                 are  using the  command repeatedly  on  the same  day,
                 you  do not want  to keep refreshing  the information.

                 *NO  may be  specified to use  the existing  data.  If
                 no data exists, the file is output.

   OUTPUT        How to  output  the  results.   *  is the  default  to
                 display  the spooled  file if  the command  is entered
                 interactively.   The spooled file  is deleted after it
                 is displayed.

                 If the  command  is  entered  in batch  or  *PRINT  is
                 specified, the  spooled file  is output  and retained.

Restrictions
------------

You must have *ALLOBJ special authority to use DSPPWDINF.

Prerequisites
-------------

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKGENERC       Check generic
     CVTTIM          Convert time
     RTVDAT          Retrieve date
     RTVPWDSTS       Retrieve password status
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDSTSMSG       Send status message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   DSPPWDINF     *CMD                   TAASEGF       QATTCMD
   TAASEGFC      *PGM       CLP         TAASEGFC      QATTCL
   TAASEGFC11    *PGM       CLP         TAASEGFC11    QATTCL
   TAASEGFR      *PGM       RPG         TAASEGFR      QATTRPG
					

Added to TAA Productivity tools March 31, 2004


Home Page Up to Top