Skip to main content
Version: v1

AzureMember Interface

Since Azure provides user names for all of its members, we extend the @fluidframework/protocol-definitions#IMember interface to include this service-specific value. It will be returned for all audience members connected to Azure.

Signature​

export interface AzureMember<T = any> extends IMember

Extends: IMember

Type Parameters​

ParameterDefaultDescription
TanySee additionalDetails. Note: must be JSON-serializable. Passing a non-serializable object (e.g. a class) will result in undefined behavior.

Properties​

PropertyModifiersTypeDescription
additionalDetailsoptionalTCustom, app-specific user information
userNamestringThe user's name

Property Details​

additionalDetails​

Custom, app-specific user information

Signature​

additionalDetails?: T;

Type: T

userName​

The user's name

Signature​

userName: string;

Type: string