Skip to main content

The current_user object

Information about the user currently logged in.

current_user contains information about the user currently logged in, as well as any user attributes set on them. You can reference these values in apps, and as URL parameters or Headers in API resource configuration settings.

Properties

email
string

The email address of the current user.

externalIdentifier
string

The unique identifier for the user in the external app for Retool Embed, set by the external app. This value is null if you don't use Retool Embed.

firstName
string

The first name of the current user.

fullName
string

The full name of the current user.

groups
object[]

The permission groups for which this user belongs.

id
number

The unique ID of the current user.

lastName
string

The last name of the current user.

locale
string

The current user's browser locale.

metadata
object[]

A list of key-value pairs and user attributes with any available metadata of the current user.

profilePhotoUrl
string

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

sid
string

The unique, non-sequential ID of the current user.