List Authorized Users (QSYLAUTU) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: Yes

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.


Authorities and Locks

User Space Authority
*CHANGE
Authority to Library Containing User Space
*EXECUTE
Authority to User Profiles in List of Authorized Users
*READ Start of changeor be authorized to the Database Administrator function of the IBM i through System i™ Navigator's Application Administration support. The Change Function Usage (CHGFCNUSG) command, with a function ID of QIBM_DB_SECADM, can also be used to change the list of users allowed to use the function. End of change

Note: Start of changeIf you are not authorized to the Database Administrator function of the IBM i,End of change only those profiles to which you have *READ authority are returned.


Required Parameter Group

Qualified user space name
INPUT; CHAR(20)

The name of the existing user space that the list of authorized users is returned to. The first 10 characters specify the user space name, and the second 10 characters specify the library.

You can use these special values for the library name:


Format name
INPUT; CHAR(8)

The name of the format used to list the authorized users.

You can specify these formats:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


User Space Variables

The following tables describe the order and format of the data returned in the user space. For detailed descriptions of the fields in the tables, see Field Descriptions.


Input Parameter Section



AUTU0100 Format



AUTU0200 Format



Field Descriptions

Format name. The name of the format used to list authorized users.

Group member indicator. Whether this user is a group that has members.

Possible values follow:


Group name. The name of the user's group profile. If the user does not have a group profile, this field contains *NONE.

Number of supplemental groups. The number of supplemental groups returned in the supplemental groups field. The number of supplemental groups will be zero if the user does not have any supplemental groups.

Reserved. An ignored field.

Supplemental groups. The array of supplemental groups for the user profile. The number of supplemental groups field will indicate how many entries there are in the array.

Text name. The text description for the authorized user.

User profile name. The name of the authorized user.

User space name. The name of the user space used to return the list of authorized users on the system.

User space library name. The name of the library containing the user space.

User or group indicator. Whether this user is a user profile or a group profile.

Possible values follow:



Error Messages



API introduced: V4R4

[ Back to top | Security APIs | APIs by category ]