IMobileAppTokenHandler.CreateUserId Method (String, String)

 

Creates a user id value contained within a ProviderCredentials. The user id is of the form ProviderName:ProviderId where the ProviderName is the unique identifier for the login provider and the ProviderId is the provider specific id for a given user.

Namespace:   Microsoft.Azure.Mobile.Server.Authentication
Assembly:  Microsoft.Azure.Mobile.Server.Authentication (in Microsoft.Azure.Mobile.Server.Authentication.dll)

Syntax

string CreateUserId(
    string providerName,
    string providerUserId
)
String^ CreateUserId(
    String^ providerName,
    String^ providerUserId
)
abstract CreateUserId : 
        providerName:string *
        providerUserId:string -> string
Function CreateUserId (
    providerName As String,
    providerUserId As String
) As String

Parameters

  • providerUserId
    Type: System.String

    The provider specific user id.

Return Value

Type: System.String

A formatted String representing the resulting value.

See Also

IMobileAppTokenHandler Interface
Microsoft.Azure.Mobile.Server.Authentication Namespace

Return to top