Skip to content

js-bao-wss-client


js-bao-wss-client / UserProfile

Interface: UserProfile ​

The current user's profile within the app, as returned by client.me.get() and client.me.update(): identity, display name, avatar, and app role.

Properties ​

appId ​

appId: string


appRole ​

appRole: string


avatarUrl? ​

optional avatarUrl?: string


email ​

email: string


name ​

name: string


userId ​

userId: string

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30