You can retrieve it with APIs but won't this:
CHGAUT OBJ('/tmp/*')
USER(*PUBLIC)
DTAAUT(*RWS)
OBJAUT(*ALL)
Accomplish what you want? That is effectively *ALL authority on the object
specified, in this case any object in "/tmp".
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan
Sent: Monday, September 10, 2018 1:51 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: How to retrieve all user profiles in an IFS object's authority
(We are still on v7r1. Preaching to the choir not necessary; it's out of my
hands.)
I am modifying an interactive application that moves IFS objects from one
folder to another. At times, we run into authority issues because a named
user is excluded at the object level. What I have been tasked with is to
remove all user authorities on the IFS object and ensure the object has
*PUBLIC *ALL authority on it, before attempting to move it. Some questions:
CHGAUT does not allow USER(*ALL), nor is there any RVKAUT command. What are
my options for retrieving all of the users in an IFS object's authority?
Will an interactive user necessarily have sufficient authority to use CHGAUT
to change the authority on a given object? We discovered an IFS object
today where the user who owned the object had authority = *EXCLUDE.
We have no idea how this happened.
- Dan
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.