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_users_user_groups
put_declarative_users_user_groups(users_user_groups: CatalogDeclarativeUsersUserGroups)
Set all users and user groups.
Parameters
| name | type | description |
|---|---|---|
| users_user_groups | CatalogDeclarativeUsersUserGroups | Declarative Users and User Groups object. |
Returns
NoneExample
# Load users and user groups from directory
users_and_user_groups = sdk.catalog_user.load_declarative_users_user_groups(layout_root_pat =Path.cwd())
# Do changes...
# users_and_user_groups.users.(...)
# Put on server
sdk.catalog_user.put_declarative_users_user_groups(users_and_user_groups)