IsCorrectPassword

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > DBWArm >

IsCorrectPassword

Description

This function checks about DBWARM password correctness

Syntax

call DBWShell("IsCorrectPassword User Password")

Parameters

User

name of the user to check the Password of

Password

the Password to check

Results

@IS_CORRECT_PASSWORD

1: the Password is correct
0: otherwise

Remarks

The DBWARM must be enabled.

Example

Call dbwshell("IsCorrectPassword " & user & " " & pin)

isCorrectPin = DBWResult("@IS_CORRECT_PASSWORD")