sym.sdk.user.User

class sym.sdk.user.User

The atomic representation of a user in Sym.

UserIdentity, which are used for referencing said user in external systems.

Methods

identity([integration_name, integration_srn])

Retrieves this User’s UserIdentity for a particular external system.

Attributes

email

The User’s email.

first_name

The User’s first name.

last_name

The User’s last name.

username

The User’s Sym username.

property email

The User’s email.

property first_name

The User’s first name.

identity(integration_name: Optional[str] = None, integration_srn: Optional[sym.sdk.resource.SRN] = None)Optional[sym.sdk.user.UserIdentity]

Retrieves this User’s UserIdentity for a particular external system.

External systems specified by either integration_name or integration_srn.

Parameters
Returns

A UserIdentity, or None if no identity is found for the Integration.

property last_name

The User’s last name.

property username

The User’s Sym username.