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.
Gets the claim types for the specified claims providers in the context with an operation option.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function ClaimTypes ( _
context As Uri, _
mode As SPClaimProviderOperationOptions, _
providerNames As String() _
) As String()
'Usage
Dim context As Uri
Dim mode As SPClaimProviderOperationOptions
Dim providerNames As String()
Dim returnValue As String()
returnValue = SPClaimProviderOperations.ClaimTypes(context, _
mode, providerNames)
public static string[] ClaimTypes(
Uri context,
SPClaimProviderOperationOptions mode,
string[] providerNames
)
Parameters
context
Type: System.UriThe context within which the claims providers can be found.
mode
Type: Microsoft.SharePoint.Administration.Claims.SPClaimProviderOperationOptionsThe operation option to get the claims providers.
providerNames
Type: []The names of the claims providers from which the claim types are retrieved.
Return Value
Type: []
The claim types from the claims providers within the context with the specified operation option.
Remarks
The claim type provides context for the claim value, usually expressed as a Uniform Resource Identifier (URI). Examples of claim types include first name, role, and email address.
See Also
Reference
SPClaimProviderOperations Class