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

Parameter Default Description
T any See additionalDetails. Note: must be JSON-serializable. Passing a non-serializable object (e.g. a class) will result in undefined behavior.

Properties

Property Modifiers Type Description
additionalDetails optional T Custom, app-specific user information
userName string The 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