× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 11-Jul-2014 09:02 -0500, Nick Arndt wrote:
Does anyone know an API or other method that will allow me to get a
list of all users in an authorization list

The CL command Display Authorization List (DSPAUTL) provides output to display [e.g. 5=Display from Work With Authorization Lists (WRKAUTL)], output to printer, and output to an Output File (OUTFILE). The Model Output File is QAOBJAUT [in QSYS or QSYS29##] with Record Format QSYDSAUT; the same Model Output File as for Display Object Authority (DSPOBJAUT).

There is also an API for the same:

<http://www.ibm.com/support/knowledgecenter/api/content/ssw_ibm_i_71/apis/qsylusra.htm>
_List Users Authorized to Object (QSYLUSRA) API_
"...
This API provides information similar to that provided by the Display Authorization List (DSPAUTL) command or the Display Object Authority (DSPOBJAUT) command.
..."

with out going to each one manually?

What is meant by "going to each one manually?" Is the intent to generate one list of all users for "each" *AUTL object that exists; e.g. as rows in a database file? If so, then refer to the reply by Luis for the simplest approach:
<http://archive.midrange.com/midrange-l/201407/msg00261.html>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.