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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
CtDescribedUserName (Property)
In french: CxUtilisateurDécrit
OLE DBAvailable only with this kind of connection
The CtDescribedUserName property sets the username used to connect to a specific table via OLE DB. You can:
  • Get the username used to connect to a table via OLE DB (data file defined in the data model editor or programmatically). This username is specified in the data file description.
  • Set the username used to connect to a table via OLE DB (only for data files defined programmatically).
Reminder The HConnect function can be used to redefine one or more OLE DB connection parameters on a table. By default, the characteristics of the OLE DB connection are defined in the data file description.
Example
// Définir le nom de l'utilisateur
Client.CxUtilisateurDécrit = "Julie"
...
// Valide la description du fichier de données
HDescribeFile(Client)
Syntax

Getting the name of the user Hide the details

<User> = <Data file>.CtDescribedUserName
<User>: Character string
OLE DB source user name specified when defining the data file in the data model editor.
<Data file>: Character string
Name of the data file used. This name is defined in the data model editor or with the File Description type.

Defining the name of the user Hide the details

<Data file>.CtDescribedUserName = <New username>
<Data file>: Character string
Name of the data file used. This name is defined with the File Description type.
<New username>: Character string
OLE DB source user name.
Remarks
The CtUserName property gets and sets the username specified for the OLE DB connection when using HConnect.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/13/2025

Send a report | Local help