ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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: HConnect is used to redefine one or more parameters of the OLE DB connection to a table. By default, the characteristics of the OLE DB connection are defined in the data file description.
Example
// Define the name of the user
Customer.CtDescribedUserName = "Julia"
...
// Validate the data file description
HDescribeFile(Customer)
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: 03/15/2024

Send a report | Local help