ValidateUser Method
Validates the password for the user.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overridable Function ValidateUser ( _
password As String _
) As Boolean
'Usage
Dim instance As UpmMembershipUser
Dim password As String
Dim returnValue As Boolean
returnValue = instance.ValidateUser(password)
public virtual bool ValidateUser(
string password
)
public:
virtual bool ValidateUser(
String^ password
)
public function ValidateUser(
password : String
) : boolean
Parameters
- password
Type: System..::.String
The password to validate.
Return Value
Type: System..::.Boolean
true if the password is valid for the user; otherwise false.
Remarks
Validates the password for the user. If the user's AccountStatus is marked inactive, the ValidateUser method will return false and the user will not show up in the user lists.
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.