gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

UserService

Functions
activate_user @classmethod
id_ : str
Return type : User
create_or_update_user_dto @classmethod
user_dto : UserFullDTO
Return type : User
create_sysuser @classmethod

Create the system user

deactivate_user @classmethod
id_ : str
Return type : User
get_all_real_users @classmethod
Return type : List
get_all_users @classmethod
Return type : List
get_by_id_and_check @classmethod
id_ : str
Return type : User
get_by_id_or_none @classmethod
id_ : str
Return type : Optional
get_or_import_user_info @classmethod

Get the user info from the database. If he doesn"t exist, get it from the space (this might import a user that is not active in the lab)

user_id : str
_description_
Return type : User
get_sysuser @classmethod
get_user_by_email @classmethod
email : str
Return type : gws_core.user.user.User | None
get_user_by_id @classmethod
id_ : str
Return type : gws_core.user.user.User | None
set_user_active @classmethod
id_ : str
is_active : bool
Return type : User
smart_search_by_name @classmethod
name : str
page : int - 0
number_of_items_per_page : int - 20
Return type : Paginator
synchronize_all_space_users @classmethod
user_exists @classmethod
id_ : str
Return type : bool