SPTrustedLoginProvider.AddClaimTypeInformation Method
Adds the claim type information for a claim type.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub AddClaimTypeInformation ( _
claimType As SPTrustedClaimTypeInformation _
)
'Usage
Dim instance As SPTrustedLoginProvider
Dim claimType As SPTrustedClaimTypeInformation
instance.AddClaimTypeInformation(claimType)
public void AddClaimTypeInformation(
SPTrustedClaimTypeInformation claimType
)
Parameters
claimType
Type: Microsoft.SharePoint.Administration.Claims.SPTrustedClaimTypeInformationThe claim type information to add.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | claimType is null . |
| ArgumentException | ClaimTypes does not include claimType.InputClaimType, or ClaimTypeInformation contains a value associated with the claimType.InputClaimType key, or IsIdentityClaim is true. |
Remarks
The claim type information includes the value of the InputClaimType property of claimType.