A user permission object can be accessed as frappe.get_user()
No docs
No docs
build map of special doctype properties
build map of permissions at level 0
build lists of what the user can read / write / create quirks: readonly => Not in Search increate => Not in create
Returns list of blocked modules
return list of doctypes that the user can read
No docs
get list of roles
No docs
No docs
No docs
frappe.utils.user.add_role (user, role)
No docs
frappe.utils.user.add_system_manager (email, first_name=None, last_name=None)
No docs
frappe.utils.user.get_enabled_system_users ()
No docs
frappe.utils.user.get_fullname_and_avatar (user)
No docs
frappe.utils.user.get_roles (user=None, with_standard=True)
get roles of current user
frappe.utils.user.get_system_managers (only_name=False)
returns all system manager's user details
frappe.utils.user.get_user_fullname (user)
No docs
frappe.utils.user.get_users ()
No docs
frappe.utils.user.is_system_user (username)
No docs
frappe.utils.user.is_website_user ()
No docs