Skip to content
rw3iss Auth

LookupUserRecord

LookupUserRecord

Defined in: dto/user.ts:41

Wire-shape user record returned by POST /admin/users/lookup. Mirrors the auth-server’s user DTO — snake_case preserved so SDK callers can pass through to UI / external systems without remapping.

Soft-deleted users are excluded server-side.

Properties

auth_provider?

optional auth_provider?: string

Defined in: dto/user.ts:49


created_at?

optional created_at?: string

Defined in: dto/user.ts:51

RFC 3339 / ISO 8601 timestamp.


display_name?

optional display_name?: string

Defined in: dto/user.ts:46


email

email: string

Defined in: dto/user.ts:43


email_verified?

optional email_verified?: boolean

Defined in: dto/user.ts:48


first_name?

optional first_name?: string

Defined in: dto/user.ts:44


id

id: string

Defined in: dto/user.ts:42


last_name?

optional last_name?: string

Defined in: dto/user.ts:45


roles?

optional roles?: UserRoleSummary[]

Defined in: dto/user.ts:56

Base roles assigned to this user. Populated by GET /admin/users on server builds that include the per-user role aggregation. Older server builds omit this field; consumers should treat undefined as “roles unknown” rather than “no roles”.


status?

optional status?: string

Defined in: dto/user.ts:47