Skip to main content

The Current User object

Information about the current logged-in or authenticated user of the app.

Not available in public apps

current_user 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 external identifier. This value is null if you are not using API-based authentication.

firstName

string

The first name.

fullName

string

The full name.

groups

object[]

A list of assigned permission groups.

id

string

The unique identifier.

lastName

string

The last name.

locale

string

The locale.

metadata

object[]

Relevant metadata for the item.

profilePhotoUrl

string

The profile photo URL.

sid

string

The unique, non-sequential ID.