A member of a space (for the share/manage UI).

interface Member {
    avatarUrl?: string;
    grantee: string;
    login?: string;
    principal: string;
    role: Role;
}

Properties

avatarUrl?: string
grantee: string

The granteeuser:{uid} | group:{gid}. This is the canonical name (core_concepts §4: "principal" is reserved for the authority context; a space member is a grantee). The host populates this on every member row.

login?: string
principal: string

Use Member.grantee. Kept as an alias (same value) for back-compat during the principalgrantee migration; will be removed in a future major. The host still populates both.

role: Role