EventGridModelFactory.MicrosoftTeamsUserIdentifierModel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MicrosoftTeamsUserIdentifierModel.
public static Azure.Messaging.EventGrid.SystemEvents.MicrosoftTeamsUserIdentifierModel MicrosoftTeamsUserIdentifierModel (string userId = default, bool? isAnonymous = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationCloudEnvironmentModel? cloud = default);
static member MicrosoftTeamsUserIdentifierModel : string * Nullable<bool> * Nullable<Azure.Messaging.EventGrid.SystemEvents.CommunicationCloudEnvironmentModel> -> Azure.Messaging.EventGrid.SystemEvents.MicrosoftTeamsUserIdentifierModel
Public Shared Function MicrosoftTeamsUserIdentifierModel (Optional userId As String = Nothing, Optional isAnonymous As Nullable(Of Boolean) = Nothing, Optional cloud As Nullable(Of CommunicationCloudEnvironmentModel) = Nothing) As MicrosoftTeamsUserIdentifierModel
Parameters
- userId
- String
The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user.
True if the Microsoft Teams user is anonymous. By default false if missing.
The cloud that the Microsoft Teams user belongs to. By default 'public' if missing.
Returns
A new MicrosoftTeamsUserIdentifierModel instance for mocking.