SecurityUserBase.ComparePassword(String, String) Method

Compares the specified encrypted password with its plain-text representation.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v18.1.dll

Syntax

public static bool ComparePassword(
    string storedPassword,
    string password
)

Parameters

Type Name Description
String storedPassword

A string which is the plain-text password for comparison.

String password

A string which is the encrypted password for comparison.

Returns

Type Description
Boolean

true if the passwords are identical, otherwise - false