Integrations
Retool
APIs
List Groups and Apps per User

List Groups and Apps per User

List all groups a user is a member of and all the apps a user has access to.

Required Permission Scopes:

  • Users > Read
  • Groups > Read
  • Permissions > Read

SDK Import:

from admyral.actions import list_groups_and_apps_per_user

Arguments

Argument NameDescriptionRequired

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 PlaceholderDescription
RETOOL_SECRETRetool secret. See Retool setup

SDK Example

groups_per_user = list_groups_and_apps_per_user(
	secrets={"RETOOL_SECRET": "my_stored_retool_secret"}
)