Share via


SPAllUserClaimProvider.CreateIdentityProviderClaim method

Creates a claim that will be present for all users of a given identity provider

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

Syntax

'Declaration
Public Shared Function CreateIdentityProviderClaim ( _
    identityProvider As String, _
    identifier As String _
) As SPClaim
'Usage
Dim identityProvider As String
Dim identifier As String
Dim returnValue As SPClaim

returnValue = SPAllUserClaimProvider.CreateIdentityProviderClaim(identityProvider, _
    identifier)
public static SPClaim CreateIdentityProviderClaim(
    string identityProvider,
    string identifier
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.Claims.SPClaim
Returns SPClaim.

See also

Reference

SPAllUserClaimProvider class

SPAllUserClaimProvider members

Microsoft.SharePoint.Administration.Claims namespace