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
- identityProvider
Type: System.String
- identifier
Type: System.String
Return value
Type: Microsoft.SharePoint.Administration.Claims.SPClaim
Returns SPClaim.