Skip to main content

WhoAmI

The WhoAmI class represents information about the current EdgeSession user.

Properties

user_name

Property (str). The user name of the current user. This ID is used to identify a user across all Edge systems.

first_name

Property (str). The first name of the current user.

last_name

Property (str). The last name of the current user.

email

Property (str). The email address of the current user.

server_admin

Property (bool). Whether or not the user is a server admin.

license_name

Property (str). The license name of the current user, or None if they have no license.

organizations

Property (list(edge.whoami.organization.Organization)). A list of organizations the current user is a member of.

Methods

to_dict

to_dict() -> dict

Translates the connection as a dictionary for serialization.

Returns

dict Connection contents as a dictionary.