共用方式為


SPClaimsAuthMembershipProvider.RequiresQuestionAndAnswer Property

Gets a value that indicates whether the user must answer a password question to reset or retrieve their password.

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

Syntax

'Declaration
Public Overrides ReadOnly Property RequiresQuestionAndAnswer As Boolean
    Get
'Usage
Dim instance As SPClaimsAuthMembershipProvider
Dim value As Boolean

value = instance.RequiresQuestionAndAnswer
public override bool RequiresQuestionAndAnswer { get; }

Property Value

Type: System.Boolean
true if the user must answer a password question to reset or retrieve their password; otherwise, false.

See Also

Reference

SPClaimsAuthMembershipProvider Class

SPClaimsAuthMembershipProvider Members

Microsoft.SharePoint.Administration.Claims Namespace