List Groups and Apps per User
List all groups a user is a member of and all the apps a user has access to.
For more information on the used APIs, see List users (opens in a new tab), List groups (opens in a new tab), and List objects a group can access (opens in a new tab).
Required Permission Scopes:
Users > Read
Groups > Read
Permissions > Read
SDK Import:
from admyral.actions import list_groups_and_apps_per_user
Arguments
Argument Name | Description | Required |
---|
Returns
A list of JSON objects.
Schema:
[
{
"user": The user email,
"groups": List of group names the user is part of,
"apps_own_access": Name of the apps the user owns,
"apps_edit_access": Name of the apps the user has edit access,
"apps_use_access": Name of the apps the user has use access,
}
]
Required Secrets
Secret Placeholder | Description |
---|---|
RETOOL_SECRET | Retool secret. See Retool setup |
SDK Example
groups_per_user = list_groups_and_apps_per_user(
secrets={"RETOOL_SECRET": "my_stored_retool_secret"}
)