This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
For stable version, go to the latest stable version of this article.
catalog_user.
put_declarative_user_groups
put_declarative_user_groups(user_groups: CatalogDeclarativeUserGroups)
Set all user groups eventually with their parents.
Parameters
| name | type | description |
|---|---|---|
| user_groups | CatalogDeclarativeUserGroups | Declarative User Groups object. |
Returns
NoneExample
# 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)