catalog_user.
create_or_update_user
create_or_update_user(user: CatalogUser)
Creates a new user or overwrites an existing user.
Parameters
name | type | description |
---|---|---|
user | CatalogUser | User entity object. |
Returns
None
Example
# Create a user
sdk.catalog_user.create_or_update_user(
CatalogUser.init(
user_id="abc",
firstname="John",
lastname="Doe",
email="john.doe@email.com",
authentication_id="xyz",
user_group_ids=["demoGroup"]
)
)