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.
load_declarative_users_user_groups
load_declarative_users_user_groups(layout_root_path: Path) -> CatalogDeclarativeUsersUserGroups
Load declarative users and user groups layout, which was stored using `store_declarative_users_user_groups`.
Parameters
| name | type | description |
|---|---|---|
| layout_root_path | Path | Path to the root of the layout directory.. Defaults to Path.cwd(). |
Returns
| type | description |
|---|---|
| CatalogDeclarativeUsersUserGroups | Declarative Users and User Groups object. |
Example
# Load users and user groups from directory
users_and_user_groups = sdk.catalog_user.load_declarative_users_user_groups(layout_root_path=Path.cwd())