LookupUserRecord
LookupUserRecord
Defined in: @rw3iss/auth-shared/src/dto/user.ts
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?
optionalauth_provider?:string
Defined in: @rw3iss/auth-shared/src/dto/user.ts
created_at?
optionalcreated_at?:string
Defined in: @rw3iss/auth-shared/src/dto/user.ts
RFC 3339 / ISO 8601 timestamp.
display_name?
optionaldisplay_name?:string
Defined in: @rw3iss/auth-shared/src/dto/user.ts
email:
string
Defined in: @rw3iss/auth-shared/src/dto/user.ts
email_verified?
optionalemail_verified?:boolean
Defined in: @rw3iss/auth-shared/src/dto/user.ts
first_name?
optionalfirst_name?:string
Defined in: @rw3iss/auth-shared/src/dto/user.ts
id
id:
string
Defined in: @rw3iss/auth-shared/src/dto/user.ts
last_name?
optionallast_name?:string
Defined in: @rw3iss/auth-shared/src/dto/user.ts
roles?
optionalroles?:UserRoleSummary[]
Defined in: @rw3iss/auth-shared/src/dto/user.ts
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?
optionalstatus?:string
Defined in: @rw3iss/auth-shared/src/dto/user.ts