Username (Property)

Applies To:

Connection object, MetaDataConnection object

Description:

Returns or sets the value of the user name property. The user name property of connection objects refers to the user name used by the Interactive Reporting connection file (.oce).

Action:

Read-write, String

Example:

This example shows how to create a connection and set its properties.

var myCon = Application.CreateConnection()
myCon.Api = bqApiSQLNet
myCon.Database = bqDatabaseOracle71
myCon.HostName ="PlutoORACLE"
myCon.TimeLimit = 20  //minutes
myCon.Username = "Hyperion
myCon.SaveAs("d:\\OCEs\\PlutoORACLE.oce")