DSPOBJAUT to a file or, if you really want to have some fun, look at the QSYLOBJA API - List Objects User Is Authorized to, Owns, or Is Primary Group of (QSYLOBJA) API.
The API documentation is under the security APIs.
Gary
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of fbocch2595@xxxxxxx
Sent: Thursday, December 08, 2011 3:07 PM
To: midrange-l@xxxxxxxxxxxx
Subject: CLP to apply authority to objects a user has authority to after a restore
Hi, I have a user who's been assigned to several hundred objects in several libraries on our iSeries and from time when we restore libraries the authority is changed and the user loses authority. I want to create a clp to record the authorities b4 the restores then apply them after the restores. Should I use the report from from PRTPVTAUT to generate the list of objects as the input to my pgm or is there a way I can write to an outfile to create the input to my pgm?
Thanks
--
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:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.