Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
type
Type: System.StringThe type of the issuer.
identifier
Type: System.StringThe identifier of the issuer.
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.