Administration Guide

Input, output, and user feedback parameters

Input, output, and user feedback parameters

 

 

13

 

 

 

 

 

 

 

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

45

Page 47
Image 47
Blackberry SWD-504685-0330050601-001 manual Input, output, and user feedback parameters, Subparameter Description