Users and User Groups

Manage users and user groups together.

See Manage Permissions to learn how permissions work in GoodData.

Declarative Methods

Example

List, create and delete users and user groups:

from gooddata_sdk import GoodDataSdk
from pathlib import Path

# GoodData base URL, e.g. "https://www.example.com"
host = "https://www.example.com"
# GoodData user token
token = "some_user_token"
sdk = GoodDataSdk.create(host, token)

users_and_user_groups = sdk.catalog_user.get_declarative_users_user_groups()

len(users_and_user_groups.users)

len(users_and_user_groups.user_groups)