js-importusers

Top  Previous  Next

The js-importusers command may be used to perform bulk import of users stored in CSV file format.

 

Usage: js-importusers [-options]

 

Options:

 

-d <name> the domain name

-f <path> file to import

-t <name> an account template

-s skip bad lines

-h display this help menu

 

If js-importusers command is run without options then user will be prompted for necessary information.

 

 

File Format

 

Import file should be plain text with comma separated values and each user on a new line.  Non-required fields may be omitted.

 

Column #

Column Description

Required

Example

1

The full name of user.

Yes

John Smith

2

The unique user login.

Yes

jsmith

3

The user password.

Yes

secret

4

The user root login path.

Yes / No (not required if template is used)

C:\users\jsmith

5

The user email address.

No

jsmith@domain.com

6

The user group name.

No

Administrators

 

Example

 

John Smith,jsmith,secret,C:\users\jsmith,jsmith@domain.tx,Administrators
Henry Jones,hjones,secret,C:\users\hjones,hjones@domain.com