Help Center

Local Navigation

Input, output, and user feedback parameters

Subparameter

Description

-i <input_filename>

This subparameter specifies the name of an input file.

You can use an input file for any parameter that has command line options. The first line of the input file is a comma-separated list of options that the columns represent. This list can be any non-empty subset of valid options in any order.

For Boolean options, such as -cs, a column value of 0 or FALSE (not case-sensitive) turns off the option. All other values, including the empty value, turn on the option.

Example

BESUserAdminClient -add -wrandom -i myInputFile.csv -username <u> -password <p>

The myInputFIle.csv input file can contain the following information:

-b,-u,-group,-cs

BES1,USER1,GROUP1,0

BES1,USER2,GROUP1,false

BES1,USER3,GROUP1,FALSE

BES1,USER4,GROUP2

BES1,USER5,GROUP2,

BES1,USER6,GROUP2,1

BES1,USER7,GROUP2,true

BES1,USER8,GROUP2,TRUE

BES1,USER9,GROUP2,anything

In this example, the following results occur:

  • all GROUP1 users are added without the -cs parameter
  • all GROUP2 users are added with the -cs parameter
  • all users are added with the -wrandom parameter

-o <output_filename>

This subparameter specifies the file that stores output information.

-password <password>

This subparameter specifies the password that the administrator uses to authenticate with the BlackBerry® Administration Service.

-username <user_name>

This subparameter specifies the authentication user name for the BlackBerry Administration Service.

-v <level>

This subparameter provides detailed or verbose feedback for the options that you used, depending on the level set. In order of increasing information displayed, the <level> can be one of the following types:
  • TRACE: This level shows all method entries, arguments, return values, and exits, as well as messages of earlier levels.
  • DEBUG: This level displays messages about logical blocks within methods, as well as messages of earlier levels.
  • INFO: This level displays normal feedback messages to the user, as well as messages of earlier levels.
  • WARNING This level displays exception messages, as well as messages of earlier levels.
  • ERROR: This level is not currently used.
  • FATAL: This level is not currently used.

You can also set the log level by typing the line in the bua-config.properties file using the following format:

LOGLEVEL=<value>

The value is one of the words TRACE, DEBUG, INFO, WARN, ERROR, or FATAL, with the same meanings as the <level> for this command.

Index


Was this information helpful? Send us your comments.