Skip to main content
Version: 7 - Gugelhupf

User

class flow_api.user.User(select=None, init=None, by=name, **kwargs)

Base class: Identity

The User class represents a User. Functions from the User class allow interaction with User objects.

A user can be created with system.user('username').save() inside the handler function of a flow script using the system reference.

See the corresponding Resources class at User

Parameters

NameTypeDescription
**kwargs
by
init
select

Constants

RESOURCE = user

Methods

add_role

add_tag

archive

clone

delete

exists

export

get

get_dict

get_identity_created_by

get_identity_modified_by

get_logs

get_public_keys

get_roles

get_tags

load

remove_role

remove_tag

restore

roles

save

send_mail

set