Share via


MqttConnectEventRequest.CreateMqttResponse Method

Definition

public Microsoft.Azure.WebPubSub.Common.MqttConnectEventResponse CreateMqttResponse (string userId, System.Collections.Generic.IEnumerable<string> groups, System.Collections.Generic.IEnumerable<string> roles);
member this.CreateMqttResponse : string * seq<string> * seq<string> -> Microsoft.Azure.WebPubSub.Common.MqttConnectEventResponse
Public Function CreateMqttResponse (userId As String, groups As IEnumerable(Of String), roles As IEnumerable(Of String)) As MqttConnectEventResponse

Parameters

userId
String

Caller userId for current connection.

groups
IEnumerable<String>

Groups applied to current connection.

roles
IEnumerable<String>

User roles applied to current connection.

Returns

A connect response to return service.

Applies to