- Development Integration
- /
- SDK
- /
- Java
- /
User authentication module
- /
Authentication
- /
- Get the user's specified resource permission list under the login application
¶ Get the list of permissions for user-specified resources
Update time: 2025-07-23 07:34:21
This document is automatically generated based on https://github.com/authing/authing-docs-factory and https://api-explorer.genauth.ai V3 API, and is consistent with API parameters and return results. If the description of this document is incorrect, please refer to V3 API.
Get the list of permissions for user-specified resources. Users get the list of permissions for specified resources under a certain application.
¶ Method Name
AuthenticationClient.getUserAuthResourcePermissionList
¶ Request Parameters
| Name | Type | Is it required | Default Value | Description | Example Value |
|---|---|---|---|---|---|
| resources | string[] | yes | - | Data resource path list, tree resources need to go to specific tree nodes | ["strResourceCode","arrResourceCode","treeResourceCode/StructCode1/resourceStructChildrenCode1"] |
¶ Request Response
Type: GetUserAuthResourcePermissionListRespDto
| Name | Type | Description |
|---|---|---|
| statusCode | number | Business status code, which can be used to determine whether the operation is successful, 200 means success. |
| message | string | Description |
| apiCode | number | Segmented error code, which can be used to get the specific error type (successful request is not returned). For a detailed list of error codes, please see: API Code List (opens new window) |
| requestId | string | Request ID. Returned when the request fails. |
| data | GetUserAuthResourcePermissionListDataDto | Response data |
Example Results:
{
"statusCode": 200,
"message": "Operation successful",
"requestId": "934108e5-9fbf-4d24-8da1-c330328abd6c",
"data": {
"permissionList": {
"namespaceCode": "examplePermissionNamespace",
"actions": "[\"get\",\"read\",\"write\",\"delete\"]",
"resource": "treeResourceCode1"
}
}
}
¶ Data Structure
¶ GetUserAuthResourcePermissionListDataDto
| Name | Type | Is it required | Description | Example Value |
|---|---|---|---|---|
| permissionList | array | Yes | Permission list nested Type: GetUserAuthResourcePermissionList. |
¶ GetUserAuthResourcePermissionList
| Name | Type | Is it required | Description | Example Value |
|---|---|---|---|---|
| namespaceCode | string | Yes | Current application Id | examplePermissionNamespace |
| actions | array | Yes | Data resource permission operation list | ["get","read","write","delete"] |
| resource | string | Yes | Data resource path | treeResourceCode1 |
