|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > DBWARM > DBWIsCorrectPassword |
Given a couple DBWARM userName and password it verifies its correctness.
Function DBWIsCorrectPassword(user,password)
user |
the user to check the password correctness |
|---|---|
password |
the password to check |
1 |
if the password is correct |
|---|---|
0 |
otherwise |
user_name = "user"
user_pwd = "pwd"
if DBWIsCorrectPin(user_name,user_pwd) then
dbwmsgbox "correct password"
else
dbwmsgbox "wrong password"
end if