The requested page is not available for the requested platform. You are viewing the content for Default platform.

SecurityUserBase.ComparePassword(String, String) Method

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

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.Xpo.v19.1.dll

Declaration

public static bool ComparePassword(
    string storedPassword,
    string password
)
Public Shared Function ComparePassword(
    storedPassword As String,
    password As String
) As Boolean

Parameters

Name Type Description
storedPassword String

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

password String

A string which is the encrypted password for comparison.

Returns

Type Description
Boolean

true if the passwords are identical, otherwise - false

See Also