Dela via


MicrosoftTeamsUserIdentifier Class

Definition

Represents a Microsoft Teams user.

public class MicrosoftTeamsUserIdentifier : Azure.Communication.CommunicationIdentifier
type MicrosoftTeamsUserIdentifier = class
    inherit CommunicationIdentifier
Public Class MicrosoftTeamsUserIdentifier
Inherits CommunicationIdentifier
Inheritance
MicrosoftTeamsUserIdentifier

Constructors

MicrosoftTeamsUserIdentifier(String, Boolean, Nullable<CommunicationCloudEnvironment>, String)

Initializes a new instance of MicrosoftTeamsUserIdentifier.

Properties

Cloud

The cloud that the identifier belongs to.

IsAnonymous

True if the user is anonymous, for example when joining a meeting with a share link.

RawId

Returns the canonical string representation of the MicrosoftTeamsUserIdentifier. You can use the RawId for encoding the identifier and then use it as a key in a database.

UserId

The id of the Microsoft Teams user. If the user isn't anonymous, the id is the Azure AD object id of the user.

Methods

Equals(CommunicationIdentifier)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.

(Inherited from CommunicationIdentifier)
ToString()

Returns a string that represents the current object.

Applies to