diff --git a/sdk/communication/Azure.Communication.Common/api/Azure.Communication.Common.netstandard2.0.cs b/sdk/communication/Azure.Communication.Common/api/Azure.Communication.Common.netstandard2.0.cs index 2a879d748cbb..77658d73a728 100644 --- a/sdk/communication/Azure.Communication.Common/api/Azure.Communication.Common.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.Common/api/Azure.Communication.Common.netstandard2.0.cs @@ -29,8 +29,8 @@ public CommunicationUserIdentifier(string id) { } public partial class MicrosoftTeamsUserIdentifier : Azure.Communication.CommunicationIdentifier { public MicrosoftTeamsUserIdentifier(string userId, bool isAnonymous = false) { } - public string Id { get { throw null; } } public bool IsAnonymous { get { throw null; } } + public string UserId { get { throw null; } } } [System.Diagnostics.DebuggerDisplayAttribute("{Value}")] public partial class PhoneNumberIdentifier : Azure.Communication.CommunicationIdentifier diff --git a/sdk/communication/Azure.Communication.Common/src/MicrosoftTeamsUserIdentifier.cs b/sdk/communication/Azure.Communication.Common/src/MicrosoftTeamsUserIdentifier.cs index f8f24822c94e..836c1352a644 100644 --- a/sdk/communication/Azure.Communication.Common/src/MicrosoftTeamsUserIdentifier.cs +++ b/sdk/communication/Azure.Communication.Common/src/MicrosoftTeamsUserIdentifier.cs @@ -9,7 +9,7 @@ namespace Azure.Communication public class MicrosoftTeamsUserIdentifier : CommunicationIdentifier { /// The id of the Microsoft Teams user. If the user isn't anonymous, the id is the AAD object id of the user. - public string Id { get; } + public string UserId { get; } /// True if the user is anonymous, for example when joining a meeting with a share link. public bool IsAnonymous { get; } @@ -28,7 +28,7 @@ public class MicrosoftTeamsUserIdentifier : CommunicationIdentifier public MicrosoftTeamsUserIdentifier(string userId, bool isAnonymous = false) { Argument.AssertNotNullOrEmpty(userId, nameof(userId)); - Id = userId; + UserId = userId; IsAnonymous = isAnonymous; } }