Skip to main content

PublicUserData

Information about the user that's publicly available.

Information about the user that's publicly available.

Properties

  • Name
    banned?
    Type
    boolean
    Description

    Indicates whether the user is banned.

  • Name
    firstName
    Type
    null | string
    Description

    The user's first name.

  • Name
    hasImage
    Type
    boolean
    Description

    Indicates whether the user has a profile picture.

  • Name
    identifier
    Type
    string
    Description

    The user's identifier, such as their email address or phone number. Can be used for user identification.

  • Name
    imageUrl
    Type
    string
    Description

    Holds the default avatar or user's uploaded profile image. Compatible with Clerk's Image Optimization.

  • Name
    lastName
    Type
    null | string
    Description

    The user's last name.

  • Name
    userId?
    Type
    string
    Description

    The user's unique identifier.

  • Name
    username?
    Type
    string
    Description

    The user's username.

Feedback

What did you think of this content?

Last updated on