SPTrustedLoginProvider.GetClaimTypeInformationFromInputClaimType Method
Retrieves the claim type information from the claim type specified by the inputClaimType parameter.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetClaimTypeInformationFromInputClaimType ( _
inputClaimType As String _
) As SPTrustedClaimTypeInformation
'Usage
Dim instance As SPTrustedLoginProvider
Dim inputClaimType As String
Dim returnValue As SPTrustedClaimTypeInformation
returnValue = instance.GetClaimTypeInformationFromInputClaimType(inputClaimType)
public SPTrustedClaimTypeInformation GetClaimTypeInformationFromInputClaimType(
string inputClaimType
)
Parameters
inputClaimType
Type: System.StringA string that represents the input claim type.
Return Value
Type: Microsoft.SharePoint.Administration.Claims.SPTrustedClaimTypeInformation
An object that represents the trusted claim type information.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The inputClaimType parameter is a null reference (Nothing in Visual Basic). |
| ArgumentException | The inputClaimType parameter is empty. |
Remarks
This method returns the first claim type whose MappedClaimType property value matches inputClaimType.