你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

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

Initializes a new instance of MicrosoftTeamsUserIdentifier.

Properties

Name Description
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 Entra ID object id of the user.

Methods

Name Description
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