Skip to main content

The Current User object

Information about the user currently logged in.

Information about the current logged-in or authenticated user of the app, along with any user attributes.

This object's value is null for publicly accessible apps that do not require authentication.

Properties

All properties for Current User with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.

email

string

The email address.

externalIdentifier

string

The unique identifier for the user in the external app. This value is null if you are not using API-based authentication.

firstName

string

The first name.

fullName

string

The full name.

groups

object[]

The permission groups for which this user belongs.

id

string

The name.

lastName

string

The last name.

locale

string

The user's browser locale.

metadata

object[]

Relevant metadata.

profilePhotoUrl

string

The profile photo URL from the SSO provider of the user.

sid

string

The unique, non-sequential ID.