DirectoryUser model.
Deprecated fields
:raw_attributes— The raw attributes received from the directory provider.:emails— A list of email addresses for the user.:job_title— The job title of the user.:username— The username of the user.
Summary
Types
@type t() :: %WorkOS.DirectoryUser{ created_at: String.t(), custom_attributes: %{optional(String.t()) => term()}, directory_id: String.t(), email: String.t() | nil, emails: [WorkOS.DirectoryUserEmail.t()] | nil, first_name: String.t() | nil, id: String.t(), idp_id: String.t(), job_title: String.t() | nil, last_name: String.t() | nil, name: String.t() | nil, object: String.t(), organization_id: String.t(), raw_attributes: %{optional(String.t()) => term()}, role: WorkOS.SlimRole.t() | nil, roles: [WorkOS.SlimRole.t()] | nil, state: WorkOS.DirectoryUserState.t(), updated_at: String.t(), username: String.t() | nil }