---
descriptions:
  user:
    self: 'The corresponding [user](/reference/authkit/user) object.'
    object: Distinguishes the user object.
    id: The unique ID of the user.
    email: The email address of the user.
    password: The password of the user.
    first_name: The first name of the user.
    last_name: The last name of the user.
    email_verified: Whether the user’s email has been verified.
    profile_picture_url: |
      A URL reference to an image representing the user.

      Currently, this URL will be present for users who have a profile picture
      from a linked Google or GitHub OAuth identity. New image sources may be
      added in the future.
    locale: The user's preferred locale.
    last_sign_in_at: The timestamp when the user last signed in.
    external_id: The external ID of the user.
    metadata: >
      Object containing [metadata](/authkit/metadata) key/value pairs associated
      with the user.
    created_at: The timestamp when the user was created.
    updated_at: The timestamp when the user was last updated.
reference:
  curl:
    - url: /reference/authkit/user
      key: user
      id: user
      title: user
      properties:
        - key: object
          type: '"user"'
          description: (user.object)
        - key: id
          type: string
          description: (user.id)
        - key: email
          type: string
          description: (user.email)
        - key: first_name
          optional: true
          type: string
          description: (user.first_name)
        - key: last_name
          optional: true
          type: string
          description: (user.last_name)
        - key: email_verified
          type: boolean
          description: (user.email_verified)
        - key: profile_picture_url
          optional: true
          type: string
          description: (user.profile_picture_url)
        - key: last_sign_in_at
          optional: true
          type: string
          description: (user.last_sign_in_at)
        - key: external_id
          optional: true
          type: string
          description: (user.external_id)
        - key: metadata
          type: object
          description: (user.metadata)
        - key: locale
          optional: true
          type: string
          description: (user.locale)
        - key: created_at
          type: string
          description: (user.created_at)
        - key: updated_at
          type: string
          description: (user.updated_at)
  js:
    - url: /reference/authkit/user
      key: User
      id: user
      title: interface User
      properties:
        - key: object
          type: '"user"'
          description: (user.object)
        - key: id
          type: string
          description: (user.id)
        - key: email
          type: string
          description: (user.email)
        - key: firstName
          optional: true
          type: string
          description: (user.first_name)
        - key: lastName
          optional: true
          type: string
          description: (user.last_name)
        - key: emailVerified
          type: boolean
          description: (user.email_verified)
        - key: profilePictureUrl
          type: string
          optional: true
          description: (user.profile_picture_url)
        - key: lastSignInAt
          optional: true
          type: string
          description: (user.last_sign_in_at)
        - key: externalId
          optional: true
          type: string
          description: (user.external_id)
        - key: metadata
          type: object
          description: (user.metadata)
        - key: createdAt
          type: string
          description: (user.created_at)
        - key: updatedAt
          type: string
          description: (user.updated_at)
  go:
    - url: /reference/authkit/user
      key: User
      id: user
      title: usermanagement.User
      properties:
        - key: ID
          type: string
          description: (user.id)
        - key: Email
          type: string
          description: (user.email)
        - key: FirstName
          optional: true
          type: string
          description: (user.first_name)
        - key: LastName
          optional: true
          type: string
          description: (user.last_name)
        - key: EmailVerified
          type: bool
          description: (user.email_verified)
        - key: ProfilePictureURL
          type: string
          optional: true
          description: (user.profile_picture_url)
        - key: LastSignInAt
          optional: true
          type: string
          description: (user.last_sign_in_at)
        - key: ExternalID
          type: string
          optional: true
          description: (user.external_id)
        - key: Metadata
          type: 'map[string]string'
          optional: true
          description: (user.metadata)
        - key: CreatedAt
          type: string
          description: (user.created_at)
        - key: UpdatedAt
          type: string
          description: (user.updated_at)
  php:
    - url: /reference/authkit/user
      key: User
      id: user
      title: WorkOS\Resource\User
      properties:
        - key: object
          type: '"user"'
          description: (user.object)
        - key: id
          type: string
          description: (user.id)
        - key: email
          type: string
          description: (user.email)
        - key: firstName
          optional: true
          type: string
          description: (user.first_name)
        - key: lastName
          optional: true
          type: string
          description: (user.last_name)
        - key: emailVerified
          type: boolean
          description: (user.email_verified)
        - key: profilePictureUrl
          type: string
          optional: true
          description: (user.profile_picture_url)
        - key: lastSignInAt
          optional: true
          type: string
          description: (user.last_sign_in_at)
        - key: createdAt
          type: string
          description: (user.created_at)
        - key: updatedAt
          type: string
          description: (user.updated_at)
  python:
    - url: /reference/authkit/user
      key: User
      id: user
      title: User
      properties:
        - key: id
          type: str
          description: (user.id)
        - key: email
          type: str
          description: (user.email)
        - key: first_name
          optional: true
          type: str
          description: (user.first_name)
        - key: last_name
          optional: true
          type: str
          description: (user.last_name)
        - key: email_verified
          type: bool
          description: (user.email_verified)
        - key: profile_picture_url
          type: str
          optional: true
          description: (user.profile_picture_url)
        - key: last_sign_in_at
          optional: true
          type: str
          description: (user.last_sign_in_at)
        - key: created_at
          type: str
          description: (user.created_at)
        - key: updated_at
          type: str
          description: (user.updated_at)
  ruby:
    - url: /reference/authkit/user
      key: User
      id: user
      title: class User
      properties:
        - key: id
          type: String
          description: (user.id)
        - key: email
          type: String
          description: (user.email)
        - key: first_name
          optional: true
          type: String
          description: (user.first_name)
        - key: last_name
          optional: true
          type: String
          description: (user.last_name)
        - key: email_verified
          type: Boolean
          description: (user.email_verified)
        - key: profile_picture_url
          type: String
          optional: true
          description: (user.profile_picture_url)
        - key: last_sign_in_at
          optional: true
          type: String
          description: (user.last_sign_in_at)
        - key: created_at
          type: String
          description: (user.created_at)
        - key: updated_at
          type: String
          description: (user.updated_at)
  java:
    - url: /reference/authkit/user
      key: User
      id: user
      title: class User
      properties:
        - key: id
          type: String
          description: (user.id)
        - key: email
          type: String
          description: (user.email)
        - key: firstName
          optional: true
          type: String
          description: (user.first_name)
        - key: lastName
          optional: true
          type: String
          description: (user.last_name)
        - key: emailVerified
          type: Boolean
          description: (user.email_verified)
        - key: profilePictureUrl
          type: String
          optional: true
          description: (user.profile_picture_url)
        - key: lastSignInAt
          optional: true
          type: String
          description: (user.last_sign_in_at)
        - key: createdAt
          type: String
          description: (user.created_at)
        - key: updatedAt
          type: String
          description: (user.updated_at)
originalPath: .tmp-workos-clone/packages/docs/content/reference/authkit/user/index.mdx
---

# User

Represents a user identity in your application. A user can sign up in your application directly with a method like password, or they can be [JIT-provisioned](/authkit/jit-provisioning) through an organization’s SSO connection.

Users may belong to [organizations](/reference/organization) as members.

See the [events reference](/events/user) documentation for the user events.

<CodeBlock title="User" referenceId="user" file="user" />
