Required Parameter Group:
Optional Parameter Group:
|
The List Objects a User is Authorized to, Owns, or Is Primary Group of (QSYLOBJA) API puts a list of objects a user is authorized to, owns, or is the primary group owner for into a user space. The list of authorized objects only includes objects the user is specifically authorized to. The list does not include objects the user is authorized to because:
This API provides information similar to that provided by the Display User Profile (DSPUSRPRF) command when specifying *OBJAUT, *OBJOWN, or *OBJPGP for the type parameter.
*EXECUTE
The name of the existing user space used to return the list of objects a user is authorized to, owns, or is the primary group for. 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:
The name of the format used to list objects the owner is authorized to, owns, or is the primary group for.
You can specify these formats:
The user name for which the list of objects is being returned. You can specify the following special value:
The type of object the list of objects is returned for. You can specify the following special value:
The objects that are returned. You can specify the following special values:
The handle used to continue from a previous call to this API that resulted in partially complete information. You can determine if a previous call resulted in partially complete information by checking the Information Status variable in the generic user space header following the API call.
If the API is not attempting to continue from a previous call, this parameter must be set to blanks. Otherwise, a valid continuation value must be supplied. The value may be obtained from the list header section of the user space used in the previous call. When continuing, the first entry in the returned list is the entry that immediately follows the last entry returned in the previous call.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
The list of objects that are to be returned. This parameter can return more information than would be returned if the returned objects parameter was specified. This parameter is ignored unless the value in the returned objects parameter is *REQLIST. You can specify the following values:
The number of values in the list of requests.
*OBJAUT. Returns the list of objects the user is authorized to.
*OBJOWN. Returns the list of objects the user owns.
*OBJPGP. Returns the list of objects the that the user is the primary group for.
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.
|
Offset
|
Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | CHAR(10) | User space name specified |
| 10 | 0A | CHAR(10) | Library name specified |
| 20 | 14 | CHAR(8) | Format name |
| 28 | 1C | CHAR(10) | User profile name specified |
| 38 | 26 | CHAR(10) | Object type |
| 48 | 30 | CHAR(10) | Returned objects |
| 58 | 3A | CHAR(20) | Continuation handle |
| 78 | 4E | BINARY(4) | Offset to the request list |
| 82 | 52 | BINARY(4) | Number of values in the request list |
| 86 | 56 | CHAR(*) | List of requests |
|
Offset
|
Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | CHAR(10) | User profile name |
| 10 | 0A | CHAR(20) | Continuation handle |
| 30 | 1E | BINARY(4) | Reason code |
|
Offset
|
Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | CHAR(10) | Object name |
| 10 | 0A | CHAR(10) | Library name |
| 20 | 14 | CHAR(10) | Object type |
| 30 | 1E | CHAR(1) | Authority holder |
| 31 | 1F | CHAR(1) | Ownership |
|
Offset
|
Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | BINARY(4) | Offset to path name |
| 4 | 4 | BINARY(4) | Length of path name |
| 8 | 8 | CHAR(10) | Object type |
| 18 | 12 | CHAR(1) | Authority holder |
| 19 | 13 | CHAR(1) | Ownership |
| |
|
CHAR(*) | Path name |
|
Offset
|
Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | CHAR(10) | Object name |
| 10 | 0A | CHAR(10) | Library name |
| 20 | 14 | CHAR(10) | Object type |
| 30 | 1E | CHAR(1) | Authority holder |
| 31 | 1F | CHAR(1) | Ownership |
| 32 | 20 | CHAR(10) | Authority value |
| 42 | 2A | CHAR(1) | Authorization list management |
| 43 | 2B | CHAR(1) | Object operational |
| 44 | 2C | CHAR(1) | Object management |
| 45 | 2D | CHAR(1) | Object existence |
| 46 | 2E | CHAR(1) | Data read |
| 47 | 2F | CHAR(1) | Data add |
| 48 | 30 | CHAR(1) | Data update |
| 49 | 31 | CHAR(1) | Data delete |
| 50 | 32 | CHAR(1) | Data execute |
| 60 | 3C | CHAR(10) | Reserved |
| 61 | 3D | CHAR(1) | Object alter |
| 62 | 3E | CHAR(1) | Object reference |
|
Offset
|
Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | BINARY(4) | Offset to path name |
| 4 | 4 | BINARY(4) | Length of path name |
| 8 | 8 | CHAR(10) | Object type |
| 18 | 12 | CHAR(1) | Authority holder |
| 19 | 13 | CHAR(1) | Ownership |
| 20 | 14 | CHAR(10) | Authority value |
| 30 | 1E | CHAR(1) | Authorization list management |
| 31 | 1F | CHAR(1) | Object operational |
| 32 | 20 | CHAR(1) | Object management |
| 33 | 21 | CHAR(1) | Object existence |
| 34 | 22 | CHAR(1) | Object alter |
| 35 | 23 | CHAR(1) | Object reference |
| 36 | 24 | CHAR(10) | Reserved |
| 46 | 2E | CHAR(1) | Data read |
| 47 | 2F | CHAR(1) | Data add |
| 48 | 30 | CHAR(1) | Data update |
| 49 | 31 | CHAR(1) | Data delete |
| 50 | 32 | CHAR(1) | Data execute |
| |
|
CHAR(*) | Path name |
|
Offset
|
Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | CHAR(10) | Object name |
| 10 | 0A | CHAR(10) | Library name |
| 20 | 14 | CHAR(10) | Object type |
| 30 | 1E | CHAR(1) | Authority holder |
| 31 | 1F | CHAR(1) | Ownership |
| 32 | 20 | CHAR(10) | Authority value |
| 42 | 2A | CHAR(1) | Authorization list management |
| 43 | 2B | CHAR(1) | Object operational |
| 44 | 2C | CHAR(1) | Object management |
| 45 | 2D | CHAR(1) | Object existence |
| 46 | 2E | CHAR(1) | Data read |
| 47 | 2F | CHAR(1) | Data add |
| 48 | 30 | CHAR(1) | Data update |
| 49 | 31 | CHAR(1) | Data delete |
| 50 | 32 | CHAR(10) | Attribute |
| 60 | 3C | CHAR(50) | Text description |
| 110 | 6E | CHAR(1) | Data execute |
| 111 | 78 | CHAR(10) | Reserved |
| 121 | 79 | CHAR(1) | Object alter |
| 122 | 7A | CHAR(1) | Object reference |
|
Offset
|
Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | BINARY(4) | Offset to path name |
| 4 | 4 | BINARY(4) | Length of path name |
| 8 | 8 | CHAR(10) | Object type |
| 18 | 12 | CHAR(1) | Authority holder |
| 19 | 13 | CHAR(1) | Ownership |
| 20 | 14 | CHAR(10) | Authority value |
| 30 | 1E | CHAR(1) | Authorization list management |
| 31 | 1F | CHAR(1) | Object operational |
| 32 | 20 | CHAR(1) | Object management |
| 33 | 21 | CHAR(1) | Object existence |
| 34 | 22 | CHAR(1) | Object alter |
| 35 | 23 | CHAR(1) | Object reference |
| 36 | 24 | CHAR(10) | Reserved |
| 46 | 2E | CHAR(1) | Data read |
| 47 | 2F | CHAR(1) | Data add |
| 48 | 30 | CHAR(1) | Data update |
| 49 | 31 | CHAR(1) | Data delete |
| 50 | 32 | CHAR(1) | Data execute |
| 51 | 33 | CHAR(10) | Reserved |
| 61 | 3D | CHAR(10) | Attribute |
| 71 | 47 | CHAR(50) | Text description |
| |
|
CHAR(*) | Path name |
Attribute. The object's attribute.
Authority holder. Whether the object is an authority holder. If the object is an authority holder, this field is Y. If not, this field is N.
Authority value. The special value indicating the user's authority to the object. This field contains one of the following values:
Authorization list management. Whether the user has authorization list management authority to the object. If the user has the authority, this field is Y. If not, this field is N. This field is only valid if the object type is *AUTL.
Continuation handle (header section). A continuation point for the API. This value is set based on the contents of the Information Status variable in the generic header for the user space. The following situations can occur:
Continuation handle (input section). The handle used to continue from a previous call to this API that resulted in partially complete information.
Data add. Whether the user has this authority to the object. If the user has the authority, this field is Y. If not, this field is N.
Data delete. Whether the user has this authority to the object. If the user has the authority, this field is Y. If not, this field is N.
Data execute. Whether the user has this authority to the object. If the user has the authority, this field is Y. If not, this field is N.
Data read. Whether the user has this authority to the object. If the user has the authority, this field is Y. If not, this field is N.
Data update. Whether the user has this authority to the object. If the user has the authority, this field is Y. If not, this field is N.
Format name. The name of the format used to list objects the user is authorized to or owns.
Length of path name. The length, in bytes, of the path name.
Library name. The name of the library containing the user space or object.
Library name specified. The name of the library that will contain the user space or object.
List of requests. The list of values requested in the list of requests parameter.
Number of values in the request list. The number of values that were specified in the list of requests.
Object alter. Whether the user has this authority to the object. If the user has the authority, this field is Y. If not, this field is N.
Object existence. Whether the user has this authority to the object. If the user has the authority, this field is Y. If not, this field is N.
Object management. Whether the user has this authority to the object. If the user has the authority, this field is Y. If not, this field is N.
Object name. The name of the object the user is authorized to, owns, or is the primary group for.
Object operational. Whether the user has this authority to the object. If the user has the authority, this field is Y. If not, this field is N.
Object reference. Whether the user has this authority to the object. If the user has the authority, this field is Y. If not, this field is N.
Object type.
Offset to path name. The offset in the user space to the start of the path name.
Offset to the request list. The offset to the specified list of requests.
Ownership. Whether the user owns the object or is the primary group for the object. If the user owns the object, this field is Y. If the user is the primary group for the object, this field is G. Otherwise, this field is N.
Path name. The path name of the object the user owns, is authorized to, or is the primary group for.
The structure of the path name returned is:
| Description | Type |
|---|---|
| CCSID of the returned path name | Binary(4) |
| Country ID | Char(2) |
| Language ID | Char(3) |
| Reserved field | Char(3) |
| Flag byte | Binary(4) |
| Number of bytes in the path name | Binary(4) |
| Path delimiter | Char(2) |
| Reserved field | Char(10) |
| Path name value | Char(*) |
Primary group. The name of the user who is the primary group for the authorization list or object. If there is no primary group for the authorization list or object, this field will contain a value of *NONE.
Reason code. The reason code describing why the returned list is only a subset. The following values can be returned:
Reserved. An ignored field.
Returned objects. The objects that are returned.
Text description. The text description of the object.
User profile name. The user name used to return the list of objects.
User profile name specified. The user name for which the list of objects is returned.
User space name. The name of the user space used to return the list of objects.
User space name specified. The name of the user space in which the list of objects is returned.
|
Top
| Security APIs
| Security Exit Programs Digital Certificate Mgmt APIs | Network Security APIs User Function Registration APIs | Validation List APIs | APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |