Sanity Library Reference Docs
    Preparing search index...

    Interface StudioUserProfile

    interface StudioUserProfile {
        displayName?: string;
        email?: string;
        id: string;
        imageUrl?: string | null;
        loginProvider?: string;
        provider?: string;
        sanityUserId?: string;
        readonly [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • readonly [key: string]: unknown
    Index

    Properties

    displayName?: string
    email?: string
    id: string
    imageUrl?: string | null
    loginProvider?: string
    provider?: string

    Display only. Both spellings exist because the two project-user endpoints disagree on which they answer — read through userLoginProvider rather than picking one.

    sanityUserId?: string

    The person's account-global user id — the canonical identity every workflow value stores. This is the sanctioned bridge between a project's local principal namespace and the global one; surfaces use it to emit assignment values from project-member displays.