Share via


CommunicationIdentifier.FromRawId(String) Method

Definition

Creates a CommunicationIdentifier from a given rawId. When storing rawIds, use this function to restore the identifier that was encoded in the rawId.

public static Azure.Communication.CommunicationIdentifier FromRawId (string rawId);
static member FromRawId : string -> Azure.Communication.CommunicationIdentifier
Public Shared Function FromRawId (rawId As String) As CommunicationIdentifier

Parameters

rawId
String

The rawId to be translated to its identifier representation.

Returns

Returns CommunicationUserIdentifier, PhoneNumberIdentifier, MicrosoftTeamsUserIdentifier, or UnknownIdentifier based on the identifier type.

Applies to