This documentation is for an older version of GoodData.
Go to the latest version of this article.
catalog_user.
store_declarative_users_user_groups
store_declarative_users_user_groups(layout_root_path: Path = Path.cwd())
Stores all the users and user groups in a directory hierarchy.
gooddata_layouts
└── organization_id
├── users
│ └── users.yaml
└── user_groups
└── user_groups.yaml
Parameters
name | type | description |
---|---|---|
layout_root_path | Optional[Path] | Path to the root of the layout directory.. Defaults to Path.cwd(). |
Returns
None
Example
# Fetch users and user groups from the server and store them to directory
sdk.catalog_user.store_declarative_users_user_groups(layout_root_path: Path = Path.cwd())