Share via


SPTrustedClaimTypeInformation.AcceptOnlyKnownClaimValues property

Gets or sets a value that indicates whether claim values for this claim type should only be accepted if they are the known claim values for this claim type.

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

Syntax

'Declaration
Public Property AcceptOnlyKnownClaimValues As Boolean
    Get
    Set
'Usage
Dim instance As SPTrustedClaimTypeInformation
Dim value As Boolean

value = instance.AcceptOnlyKnownClaimValues

instance.AcceptOnlyKnownClaimValues = value
public bool AcceptOnlyKnownClaimValues { get; set; }

Property value

Type: System.Boolean
true if the claim values for this claim type are valid; otherwise, false.

Exceptions

Exception Condition
ArgumentException

This object represents the identity claim type.

See also

Reference

SPTrustedClaimTypeInformation class

SPTrustedClaimTypeInformation members

Microsoft.SharePoint.Administration.Claims namespace