Поделиться через


TeamsExtensionUserIdentifier Constructor

Definition

Initializes a new instance of TeamsExtensionUserIdentifier.

public TeamsExtensionUserIdentifier(string userId, string tenantId, string resourceId, Azure.Communication.CommunicationCloudEnvironment? cloud = default, string rawId = default);
new Azure.Communication.TeamsExtensionUserIdentifier : string * string * string * Nullable<Azure.Communication.CommunicationCloudEnvironment> * string -> Azure.Communication.TeamsExtensionUserIdentifier
Public Sub New (userId As String, tenantId As String, resourceId As String, Optional cloud As Nullable(Of CommunicationCloudEnvironment) = Nothing, Optional rawId As String = Nothing)

Parameters

userId
String

The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user.

tenantId
String

The tenant Id of the Microsoft Teams Extension user.

resourceId
String

The Communication Services resource Id.

cloud
Nullable<CommunicationCloudEnvironment>

The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing.

rawId
String

Raw id of the Microsoft Teams user, optional.

Exceptions

Thrown when any of userId, tenantId, resourceId are null.

Thrown when any of userId, tenantId, resourceId are empty.

Thrown when any of userId, tenantId, resourceId are not in valid Guid format D.

Applies to