List user profiles

async AsyncCogniteClient.iam.user_profiles.list(
limit: int | None = 25,
) UserProfileList

List user profiles.

List all user profiles in the current CDF project. The results are ordered alphabetically by name.

Parameters:

limit (int | None) – Maximum number of user profiles to return. Defaults to 25. Set to -1, float(“inf”) or None to return all.

Returns:

List of user profiles.

Return type:

UserProfileList

Examples

List all user profiles:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> res = client.iam.user_profiles.list(limit=None)