PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
GeneratePassword (Function)
In French: GénèreMotdePasse
Automatically generates a password with specific characteristics (size, characters used, ...).
Versions 20 and later
Universal Windows 10 App This function is now available for the Windows Phone applications.
New in version 20
Universal Windows 10 App This function is now available for the Windows Phone applications.
Universal Windows 10 App This function is now available for the Windows Phone applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Generate a password with 8 characters
sPwd is string = GeneratePassword(8)

// Generate a password containing vowels only
sPwd2 is string = GeneratePassword(8, "aeiouyAEIOUY")
Syntax
<Result> = GeneratePassword(<Length> [, <Set of Characters>])
<Result>: Character string
  • Generated password.
  • Empty string ("") if the length of the password corresponds to 0.
<Length>: Integer
Size of the password. If this parameter is set to 0, the password corresponds to an empty string ("").
<Set of Characters>: Optional character string
Characters that must be included in the password. If this parameter is not specified, the password contains characters:
  • found between a and z.
  • found between A and Z.
  • found between 0 and 9.
Related Examples:
WM Password Cross-platform examples (WINDEV Mobile): WM Password
[ + ] Web sites, bank accounts, ... passwords are everywhere in out life. With WM Password, no need to store all the passwords of your different accounts. The application stores all your passwords in a secure way. WM Password can also generate secure passwords for you.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Java wd230java.jar
Linux wd230std.so
Android wd230android.jar
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment