catalog_user.

list_user_groups

list_user_groups()

Gets a list of all existing user groups.

Parameters

None

Returns

typedescription
List[CatalogUserGroup]List of all user groups as user group entity object.

Example

# List user groups
user_groups = sdk.catalog_user.list_user_groups()

print(user_groups)
# [
#    CatalogUserGroup()
#        id='adminGroup',
#        relationships=None
#    ),
#    CatalogUserGroup(id='adminQA1Group',
#        relationships=CatalogUserGroupRelationships(
#           parents=CatalogUserGroupParents(
#               data=[
#                   CatalogUserGroup(
#                        id='adminGroup',
#                        relationships=None
#                    )
#                ]
#            )
#        )
#    )
#    ...
# ]