TAA Tools
DSPUSRAUT3      DISPLAY USER AUTHORITY 3               TAASEIT

The  Display   User  Authority   3  command   displays  or  lists   the
authorities  that  have  been  granted  to  a specific  user  for  one,
generic,  or  all  objects.    A specific  object  type  may  be named.
Inclusion  of the  user's  owned  objects  is an  option.    DSPUSRAUT3
provides a better review than DSPUSRPRF.

You must have *ALLOBJ authority to use DSPUSRAUT3.

A typical command would be:

             DSPUSRAUT3 USER(xxx) OBJ(*ALL/*ALL)

All specific authorizations  granted to the user of  all objects in all
libraries  and  all  object  types would  be  displayed.    Because the
default is OWNOBJ(*NO),  none of the  objects owned by  the user  would
be displayed.

To review the  authorities to *FILE objects in library  ABC and request
owned objects also:

             DSPUSRAUT3 USER(xxx) OBJ(ABC/*ALL) OBJTYPE(*FILE)
                          OWNOBJ(*YES)

Because library  ABC and *FILE types are  specified, they apply to both
the authorized objects and  the owned objects.   Only *FILE objects  in
library ABC  would be displayed.   There are  two parts to  the output.
The  first describes the  authorized objects  and the second  the owned
objects.

DSPUSRAUT3 escape messages you can monitor for
----------------------------------------------

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

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

   USER          The name of the user to display authorities for.

   OBJ           The  name of  the object  to display  authorities for.
                 A specific  object,  a generic  object  name, or  *ALL
                 may be entered.

                 The  library  qualifier  defaults   to  *ALL  for  all
                 libraries.  A specific library may be named.

                 If  other  than  *ALL/*ALL is  used,  the  entries are
                 used for  both  the  specifically  authorized  objects
                 and the owned objects.

   OBJTYPE       The  object  type  to  be  displayed.    *ALL  is  the
                 default.    For the  supported list,  use  the command
                 prompter.

                 If other  than *ALL  is  used, the  type is  used  for
                 both  the  specifically  authorized  objects  and  the
                 owned objects.

   OWNOBJ        Whether  to display the  owned objects in  addition to
                 the  specifically  authorized  objects.    *NO  is the
                 default.

                 *YES may be specified to list the owned objects.

   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
------------

None.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKGENERC       Check generic
     RTVOBJD2        Retrieve object description 2
     RTVSPCAUT       Retrieve special authority
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message

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

None, the tool is ready to use.

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

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

   DSPUSRAUT3    *CMD                   TAASEIT       QATTCMD
   TAASEITC      *PGM       CLP         TAASEITC      QATTCL
   TAASEITR      *PGM       RPG         TAASEITR      QATTRPG
					

Added to TAA Productivity tools April 15, 2011


Home Page Up to Top