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 is used to set the username that will be used when connecting to a specific table via OLE DB. You can:
  • Find out the username that will be used for connecting a data file to a table by OLE DB (data file defined in the data model editor or through programming). This user name was specified during the description of the data file.
  • Define the username that will be used for connecting a data file to a table by OLE DB (when the data file is described through programming).
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 model editor during the description of the data file.
Example
// Define the name of the user
Customer.CtDescribedUserName = "Julia"
...
// Validate the data file description
HDescribeFile(Customer)
Syntax

Finding out the name of the user Hide the details

<User> = <Data file>.CtDescribedUserName
<User>: Character string
Name of the user of the OLE DB source, defined during the file description 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.

Define 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
Username of the OLE DB source.
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: 02/29/2024

Send a report | Local help