SPIdentityProviders.Format Method

Creates an issuer from the specified issuer type and issuer identifier.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function Format ( _
    type As String, _
    identifier As String _
) As String
'Usage
Dim type As String
Dim identifier As String
Dim returnValue As String

returnValue = SPIdentityProviders.Format(type, identifier)
public static string Format(
    string type,
    string identifier
)

Parameters

Return Value

Type: System.String
The issuer.

Exceptions

Exception Condition
ArgumentException

type is null or an empty string, identifier is null or an empty string when type is notForms(), Trusted(), or Windows().

Remarks

If type is equal to Windows(), this method returns Windows(). If type is Forms(), Trusted(), this method, it returns the concatenated type and identifier, separated by a ‘:’ character.

See Also

Reference

SPIdentityProviders Class

SPIdentityProviders Members

Microsoft.SharePoint.Administration.Claims Namespace