async deleteTeamsUser(context, userContext) {
        if (!userContext) {
            userContext = await this.getUserContext(context);
        }
        if (userContext) {
            await Sdk.deleteFunction(
                await this._getSyntheticFusebitFunctionContextFromTurnContext(context, userContext),
                context.fusebit.fusebit.functionAccessToken
            );
            await context.fusebit.storage.delete(this.getStorageIdForVendorUser(userContext.vendorUserId));
            await context.fusebit.storage.delete(this.getStorageIdForTeamsUser(context.activity.from.id));
        }
    }
/**
     * Removes all artifacts associated with a Teams user. Should be called when the Teams user logs out from the system.
     * @param {TurnContext} context The turn context
     */
Removes all artifacts associated with a Teams user. Should be called when the Teams user logs out from the system.
@param {TurnContext} context The turn context
Removes all artifacts associated with a Teams user . Should be called when the Teams user logs out from the system . @param { TurnContext } context The turn context
async deleteTeamsUser(context, userContext) {
        if (!userContext) {
            userContext = await this.getUserContext(context);
        }
        if (userContext) {
            await Sdk.deleteFunction(
                await this._getSyntheticFusebitFunctionContextFromTurnContext(context, userContext),
                context.fusebit.fusebit.functionAccessToken
            );
            await context.fusebit.storage.delete(this.getStorageIdForVendorUser(userContext.vendorUserId));
            await context.fusebit.storage.delete(this.getStorageIdForTeamsUser(context.activity.from.id));
        }
    }
async deleteTeamsUser ( context , userContext ) { if ( ! userContext ) { userContext = await this . getUserContext ( context ) ; } if ( userContext ) { await Sdk . deleteFunction ( await this . _getSyntheticFusebitFunctionContextFromTurnContext ( context , userContext ) , context . fusebit . fusebit . functionAccessToken ) ; await context . fusebit . storage . delete ( this . getStorageIdForVendorUser ( userContext . vendorUserId ) ) ; await context . fusebit . storage . delete ( this . getStorageIdForTeamsUser ( context . activity . from . id ) ) ; } }
Removes all artifacts associated with a Teams user.
Removes all artifacts associated with a Teams user .