Share via


SPIdentityProviders.GetIdentityProviderIdentifier method

Gets the issuer identifier from the specified value.

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

Syntax

'Declaration
Public Shared Function GetIdentityProviderIdentifier ( _
    value As String _
) As String
'Usage
Dim value As String
Dim returnValue As String

returnValue = SPIdentityProviders.GetIdentityProviderIdentifier(value)
public static string GetIdentityProviderIdentifier(
    string value
)

Parameters

  • value
    Type: System.String

    The value from which the issuer identifier is extracted.

Return value

Type: System.String
The issuer identifier.

Exceptions

Exception Condition
ArgumentNullException

value is null or an empty string.

Remarks

This method returns an empty string if the issuer identifier cannot be found.

See also

Reference

SPIdentityProviders class

SPIdentityProviders members

Microsoft.SharePoint.Administration.Claims namespace