ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
  • "Password" option
  • Limitation
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Password (Property)
In french: Password
ODBCHFSQL ClassicNot available with these kinds of connection
The Password property can be used:
  • on the edit controls (or on the text table columns).
    In this case, Password is used you to:
    • find out whether an edit control is a "Password" control
    • modify (if necessary) the password type of an edit control.
    The "Password" option is used to replace all characters with asterisks ("*") as the user types..
    Remark: The "Password" type is an option of Edit controls. This option can be found in the "General" tab of the control description.
  • on the connections (HFSQL Client/Server, OLE DB, etc.).
    In this case, the Password property sets the password of the user using the connection. In this case, when you open a file that uses an open connection, that connection will be closed and reopened with the new parameters.
    Note: The connection can correspond:
Example
WINDEVWEBDEV - Server codeAndroidJavaAjax
// Is the "EDT_BankAccount" control a "Password" control?
ResPassword = EDT_BankAccount.Password
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadUser code (UMC)AjaxHFSQL Client/ServerOLE DBNative Connectors (Native Accesses)
MyConnection is Connection
// Describe the connection
MyConnection.User = "USER"
MyConnection.Password = "PASSWORD"
MyConnection.Server = "MYSERVER" 
MyConnection.Database = "Database"
MyConnection.Provider = hAccessHFClientServer
MyConnection.Access = hOReadWrite
MyConnection.ExtendedInfo = "Extended information"
MyConnection.CursorOptions = hClientCursor
HOpenConnection(MyConnection)
Syntax
WINDEVWEBDEV - Server codeAndroidJavaUser code (UMC)Ajax

Finding out whether an edit control is a "Password" control Hide the details

<Result> = <Edit control>.Password
<Result>: Boolean
  • True if the specified control is a "Password" control,
  • False otherwise.
<Edit control>: Control name
Name of the edit control (or name of the Table column) to use.
WINDEVAndroidJavaUser code (UMC)

Modifying the "Password" type of an edit control Hide the details

<Edit control>.Password = <New type>
<Edit control>: Control name
Name of the edit control (or name of the table column) to use.
<New type>: Boolean
  • True if the specified control must be a "Password" control,
  • False otherwise.
WEBDEV - Server codeWEBDEV - Server codeReports and QueriesWindowsLinuxAndroidiPhone/iPadUser code (UMC)AjaxHFSQL Client/ServerOLE DBNative Connectors (Native Accesses)

Defining the password used during a connection Hide the details

<Connection>.Password = <New password>
<Connection>: Character string
Name of the connection used. This name is defined:
<New password>: Character string or Secret string
Password of the current user that will be used for the specified connection.
New in version 2025
Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "Ansi or Unicode string".
To learn more about secret strings and how to use the vault, see Secret string vault.
Remarks
WINDEVWEBDEV - Server codeAndroidJavaUser code (UMC)Ajax

"Password" option

The "Password" option only affects the display of the control content. The value of the control corresponds to the characters typed by the user (and not to the stars ("*")).
WINDEVWEBDEV - Server codeAndroidiPhone/iPadJavaUser code (UMC)Ajax

Limitation

The Password property applies only to:
  • the edit controls.
  • the text table columns.
Android The Password property does not apply to text table columns.
Related Examples:
WD Password Complete examples (WINDEV): WD Password
[ + ] The WD Password example is a "password chest". It can be used to manage the passwords created when using Internet sites but also passwords created for everyday life (such as PIN numbers, ATM codes, ....).
The security of the data is guaranteed by the use of HFSQL encryption. Therefore, even if the files containing this information happen to be stolen, this information cannot be used without knowing the main password.
The example can also be used to generate very strong passwords.
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.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/06/2024

Send a report | Local help