View Source WorkOS.DirectorySync.Directory.User (WorkOS SDK for Elixir v1.1.0)

WorkOS Directory User struct.

Summary

Types

@type t() :: %WorkOS.DirectorySync.Directory.User{
  created_at: String.t(),
  custom_attributes: %{required(String.t()) => any()},
  directory_id: String.t(),
  emails: [%{type: String.t(), value: String.t(), primary: boolean()}],
  first_name: String.t(),
  groups: [
    %WorkOS.DirectorySync.Directory.Group{
      created_at: term(),
      directory_id: term(),
      id: term(),
      idp_id: term(),
      name: term(),
      object: term(),
      organization_id: term(),
      raw_attributes: term(),
      updated_at: term()
    }
  ],
  id: String.t(),
  idp_id: String.t(),
  job_title: String.t() | nil,
  last_name: String.t(),
  object: String.t(),
  organization_id: String.t() | nil,
  raw_attributes: %{required(String.t()) => any()},
  state: String.t(),
  updated_at: String.t(),
  username: String.t()
}