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