Partajați prin


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

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

See Also

Reference

UpmMembershipUser Class

UpmMembershipUser Members

Microsoft.CommerceServer.Runtime.Profiles Namespace