AppServiceTokenHandler.TryParseUserId(String, String, String) 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.
Parses a user id into its two components: a ProviderName
which uniquely identifies the login provider
and the ProviderId
which identifies the provider specific id for a given user.
public virtual bool TryParseUserId (string userId, out string providerName, out string providerUserId);
abstract member TryParseUserId : string * string * string -> bool
override this.TryParseUserId : string * string * string -> bool
Public Overridable Function TryParseUserId (userId As String, ByRef providerName As String, ByRef providerUserId As String) As Boolean
Parameters
- userId
- String
The input value to parse.
- providerName
- String
The login provider name; or null
if the userId
is not valid.
- providerUserId
- String
The provider specific user id; or null
is the userId
is not valid.
Returns
true
if userId
is valid; otherwise false
/
Implements
Applies to
Azure SDK for .NET