Share via


IServiceTokenHandler.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 ILoginProvider and the ProviderId is the provider specific id for a given user.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.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

IServiceTokenHandler Interface
Microsoft.WindowsAzure.Mobile.Service.Security Namespace

Return to top