|
|
|
|
|
CtDescribedUserName (Property) In french: CxUtilisateurDécrit
Available 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. // 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|