Skip to main content

UserMeResponse

Datalayer Core


Datalayer Core / UserMeResponse

Interface: UserMeResponse

Defined in: tech/datalayer/core/src/api/types/iam.ts:95

Response from the /me endpoint containing current user information UserMeResponse

Properties

me

me: object

Defined in: tech/datalayer/core/src/api/types/iam.ts:101

Current user's profile information

Index Signature

[key: string]: any

Allow additional fields that may come from the server

avatarUrl

avatarUrl: string

Avatar URL for the user (may be empty string)

email

email: string

Email address of the user (may be empty string)

firstName

firstName: string

First name of the user (may be empty string)

handle

handle: string

User handle (username)

id

id: string

Unique identifier (full ID) for the user

lastName

lastName: string

Last name of the user (may be empty string)

roles

roles: string[]

Array of roles assigned to the user

uid

uid: string

Unique identifier (UID) for the user


message

message: string

Defined in: tech/datalayer/core/src/api/types/iam.ts:99

Response message from the server


success

success: boolean

Defined in: tech/datalayer/core/src/api/types/iam.ts:97

Whether the request was successful