38
Accessing Data and Data Analysis
507
Using the Run command
TIP
In the file you declare after the -vars option, you can also specify the variables
such as DBUSER, DBPASSWORD and DBDSN. (The names of such variables
depend on the database at your site). These variables can be used to define a
restriction on an object, for example. For further information on these variables,
refer to “BusinessObjects Variables” in the Database Guide included in your
BusinessObjects package.
Specifying BOUSER, BOPASS and Other Variables
You can use the BOUSER and BOPASS variables to manage your access to
BusinessObjects. You can specify the values of these variables in the Run
command, or in a file that you call from the Run command. Other variables can
be declared in this file.
X BOUSER and BOPASS
When the BusinessObjects supervisor creates users, they assign each one a
user name and password. The user’s name and password are stored on the
repository. When you log in to BusinessObjects in online mode, which is the
default working mode, BusinessObjects connects to the repository and reads
your security information. Your user name and password are then written to
either the objects.lsi file or the objects.ssi file, located in either the ShData folder
or the LocData folder.
Once you have launched BusinessObjects in online mode, you can use the
BOUSER and BOPASS variables in the Run command. You can:
• Declare the value of the variables after -user and -pass.
For example, if your supervisor assigned you the user name JOHN and the
password SMITH, you can write the following command:
c:\BusinessObjects\Busobj.exe -user JOHN -pass SMITH
• Declare the variables and their values in a text file in the BusinessObjects
folder. Then, in the Run command, you specify the file name after the -vars
option.
For example, if your supervisor assigned you the user name JOHN and the
password SMITH, you create a .txt file (myfile.txt) in which you specify:
BOUSER=JOHN
BOPASS=SMITH
You can now use the following Run command:
c:\BusinessObjects\Busobj.exe -vars myfile.txt