|
|
|
|
CtUserName (Property) In french: CxUtilisateur
Available only with this kind of connection
The CtUserName property is used to set the username that will be used when connecting to a specific table via OLE DB. You can: - Get the username that will be used for connecting to a table via OLE DB (name used in HConnect). This property can be used for a data file defined in the data model editor or programmatically.
- Define the username that will be used for connecting to a table by OLE DB (when the data file is described through programming). In this case, this property is equivalent to the CtDescribedUserName property.
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 when describing the data file,
- programmatically, when describing the data file.
// Define the name of the user Customer.CtUserName = "Julia" ... // Validate the data file description HDescribeFile(Customer)
Syntax
Finding out the name of the user (used in HConnect) Hide the details
<User> = <Data file>.CtUserName
<User>: Character string Name of the user of the OLE DB source defined during the connection by HConnect. <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 (used in HConnect) Hide the details
<Data file>.CtUserName = <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 Name of the user of the OLE DB source defined during the connection by HConnect. Remarks The CtDescribedUserName property gets and sets the name of the user specified for the OLE DB connection when describing the data file.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|