PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
ValidatePassword (Function)
In french: ValideMotDePasse
Indicates whether the specified password is valid for the current user. The password can be:
  • the Windows authentication password
  • the password of the WINDEV/WEBDEV user groupware.
  • the password specified for locking applications (password specified by the LockAppPassword)function.
Versions 24 and later
Windows This function is now available for the WEBDEV sites in Windows.
New in version 24
Windows This function is now available for the WEBDEV sites in Windows.
Windows This function is now available for the WEBDEV sites in Windows.
Versions 24 and later
Windows This function is only available to check if the password is valid for the user groupware.
New in version 24
Windows This function is only available to check if the password is valid for the user groupware.
Windows This function is only available to check if the password is valid for the user groupware.
Example
IF ValidatePassword("MyPassword") = True THEN
Info("User validated")
ELSE
Info("Invalid password")
END
Syntax
<Result> = ValidatePassword(<Password> [, <Authentication>])
<Result>: Boolean
  • True if the password is correct,
  • False otherwise.
<Password>: Character string (with quotes)
Password to validate for the current user.
<Authentication>: Optional Integer constant
Password authentication method:
pwdGpwAuthentication performed by the WINDEV/WEBDEV user groupware.
pwdCustomAuthentication performed according to the password specified in LockAppPassword.
pwdWindowsAuthentication performed according to the Windows password.

If <Authentication> is not specified:
  • If LockAppPassword was used, this password is checked.
  • If the user groupware is enabled, the password is checked in relation to the user groupware.
  • Otherwise, the password is checked against the Windows account.
Related Examples:
The Lock functions Unit examples (WINDEV): The Lock functions
[ + ] Using the LockXX functions in order to lock a sensitive application.
Component : wd240gpu.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment