## Import User Accounts

The Import Users page allows system administrators to import user accounts from a text file. The user account information can be from another CWIS site or anywhere else, as long as the data is in the correct format. The information expected in the text file is:

- User Name (Required)
- Password
- E-mail Address (Required)
- Web Site
- Real Name
- Address Line 1
- Address Line 2
- City
- State
- Country
- ZIP Code
- Selected User Interface, e.g., default or Droplets
- Browsing Field, e.g., Classification
- User Access Privilege Flags, e.g., System Administrator or Can Post Resource Comments

The file to import must have each field separated by a tab character and end each line with a newline character. Each user access privilege flag for a user must be on a new line preceeded by the user name and a tab character. Only the user name and e-mail address are required.

The password will be set to the user name if not specified, which will require users to reset their passwords using the forgotten password mechanism before they will be able to log in. Passwords included in the text file can be in encrypted or plain text form. The Don't Encrypt Password option should be selected if the passwords are already in encrypted form and the Encrypt Password option should be selected otherwise. Passwords are already in encrypted form when exported from CWIS.

### Example Input

An example of the input format for one user follows, with some fields omitted for brevity:

    exampleuser        $1$To.U/GxA$2kTKYcwVSw        user@example.com        [...]        browsing field
    exampleuser        Can Post Resource Comments
    exampleuser        Can Post To Forums

Exporting existing user accounts from the site that will be used to import user accounts can be done to get an ad hoc example of the format required.

### See Also

- Export User Accounts