ValidateUserAnswer Method
Validates the answer for the user.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overridable Function ValidateUserAnswer ( _
answer As String _
) As Boolean
'Usage
Dim instance As UpmMembershipUser
Dim answer As String
Dim returnValue As Boolean
returnValue = instance.ValidateUserAnswer(answer)
public virtual bool ValidateUserAnswer(
string answer
)
public:
virtual bool ValidateUserAnswer(
String^ answer
)
public function ValidateUserAnswer(
answer : String
) : boolean
Parameters
- answer
Type: System..::.String
The password to validate.
Return Value
Type: System..::.Boolean
true if the answer is valid for the user; otherwise false.
Remarks
Validates the answer for the user.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.