catalog_user.
put_declarative_user_groups
put_declarative_user_groups(user_groups: CatalogDeclarativeUserGroups)
Sets all user groups eventually with their parents.
Parameters
name | type | description |
---|---|---|
user_groups | CatalogDeclarativeUserGroups | Declarative User Groups object. |
Returns
None
Example
# Get user groups in declarative form
declarative_user_groups = sdk.catalog_user.get_declarative_user_groups()
# Do changes
# declarative_user_groups.(...)
# Put back on server
sdk.catalog_user.put_declarative_user_groups(declarative_user_groups)