Re: Who was provided authority with GRTUSRPMN

Bryan Dietz <[email protected]>
Newsgroups gmane.comp.hardware.ibm.midrange
Message-ID <[email protected]>
As I think more about the GRTUSRPMN command I hearken back to the 
OfficeVision days.

reading the help text I see the following.
<help>
      GRTUSRPMN   TOUSER(JUDY)  FORUSER(PEGGY)

  JUDY is the administrative assistant for an executive. This command
  allows JUDY to work with documents or folders for PEGGY that are not
  personal.
</help>

Documents and folders is the key part.

I wonder if the OP thinking was this command would mirror and private 
authorities to library objects, that command would be GRTUSRAUT.

<help>
The Grant User Authority (GRTUSRAUT) command grants authority to a
user by referring to another user profile.
...
     GRTUSRAUT   USER(USRB)  REFUSER(USRA)

This command grants the user profile USRB the same authorities that
USRA has for all objects that USRA owns (including object management
authority) or has authority to.
</help>

I think my original statements about the system audit journal still holds.

Happy Memorial Day.
Bryan


Stephen Landess wrote on 5/22/2026 10:11 AM:
>    *
> Joseph wrote:
>    *
> Is there a SQL service or command that can show me who was given authority to a specific user profile that was provided by the GRTUSRPMN command?
> 
> 
> What about using the QSYS2.OBJECT_PRIVILEGES view (available since IBM i version 7.1) to get a list ?
> 
> This article may help:
> https://www.rpgpgm.com/2017/05/viewing-object-authority-using-sql-view.html
> 
> Regards,
> Steve Landess
> (512) 289-0387
> 

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

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.