× 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 12 Jan 2013 12:06, rpglist@xxxxxxxxxxx wrote:
Is there an API that will provide a list of all the users or better a
class of users on the system?

Not sure what defines a user "class".? There is for Group Profiles however. There is the *GRPMBR selection of DSPUSRPRF [TYPE parameter]. Also...

From a "Search:" of the IBM i 7.1 InfoCenter on the following tokens:
user profile list api

http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/apis/qsylautu.htm
_i List Authorized Users (QSYLAUTU) API i_
"...
The List Authorized Users (QSYLAUTU) API puts a list of authorized system users into a user space.

This API provides information similar to the Display Authorized Users (DSPAUTUSR) command.
..."

http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/apis/qgyolaus.htm
_i Open List of Authorized Users (QGYOLAUS) API i_
"...
4 Number of records to return Input Binary(4)
5 Format name Input Char(8)
6 Selection criteria Input Char(10)
7 Group profile name Input Char(10)
...
The Open List of Authorized Users (QGYOLAUS) API provides information about the authorized users of the system. It returns a list of authorized user names that meet the selection criteria specified by the caller of the API and information about those users. This API provides information similar to the Display Authorized Users (DSPAUTUSR) command and the Retrieve Authorized Users (QSYRAUTU) API.

Differences between QSYRAUTU and QGYOLAUS

The QGYOLAUS API returns the same information that the Retrieve Authorized Users (QSYRAUTU) API provides, but takes a complete snapshot at once and allows subsequent records to be obtained through the Get List Entries (QGYGTLE) API.
..."

http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/apis/qsyrautu.htm
_i Retrieve Authorized Users (QSYRAUTU) API i_
"...
5 Selection criteria Input Char(10)
6 Starting profile name Input Char(10)
7 Starting profile option Input Char(1)
8 Group profile name Input Char(10)
...
The Retrieve Authorized Users (QSYRAUTU) API provides information about the authorized users of the system. It returns a list of authorized user names that meet the selection criteria specified by the caller of the API and information about those users. This API provides information similar to the Display Authorized Users (DSPAUTUSR) command.
..."


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.