You can look at the C stat() function and/or the List Users Authorized to Object (QSYLUSRA) API.
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rich Loeber
Sent: Friday, June 13, 2014 12:22 PM
To: Midrange Systems Technical Discussion
Subject: Retrieving IFS Security Info
I am looking for a way to programatically retrieve security details about
any object in the IFS. I've been trying to track down an API that mimics
the DSPAUT command, but no luck so far. I hate the idea of printing
DSPAUT to a file and reading back the file, but at this point that seems
like my only option. I must be missing something.
I'm running on 6.1, but need for the solution to run on V5R4 or higher.
Rich Loeber - @richloeber
Kisco Information Systems
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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l