Fortinet black logo

Administration Guide

Import admin users

Copy Link
Copy Doc ID 825689eb-200d-11e9-b6f6-f8bc1258b856:644517
Download PDF

Import admin users

Admin users can be imported into the database from a .csv (comma separated value) file through the Admin Users View.

Create an import file

To import Admin users create a comma separated value (.csv) file using any text editor or spreadsheet tool. If you are using a text editor to create the file, use commas to separate the fields when you enter the data. Use carriage returns to separate records.

The first row in the file is a header row and must contain a comma separated list of the database field names that are included in the import file. The order of the fields does not matter. For example, to import admin users the header row could have the following fields: profileName,uid,authType,fn,ln

Unless otherwise specified, data type is a string with no size limitations. Fields are case sensitive. For example, if you have User IDs SMITH123 and Smith123, the database treats these as two separate user records. If you import something that already exists in the database, the existing record is updated with the new data from the import.

Note

If you import an existing Admin user, all fields will be replaced by those in the import file.

Note

When you select the Make Importable check box while exporting users, any user with an authentication type of "LDAP" is imported as a local user.

Imported data is displayed on both the Admin User view and the User View. The table below lists all of the possible import data fields by the name that should be used in the header row, indicates which fields are required and provides a definition for each field.

Fields

Field

Required

Definition

profileName

Yes

Admin Profile — Administrative Users must have an associated Admin Profile that provides them with permissions for features in FortiNAC. Enter the name of the Admin Profile that matches an existing Profile in the database.

uid

Yes

User ID — Unique alpha numeric User ID.

If a directory is used for authentically the FortiNAC database is synchronized with the directory, data for users with matching IDs is overwritten with data from the directory. For example, if you import a user with ID AB118 named Ann Brown and the directory contains a record of AB118 as Andrew Bowman, then your database shows AB118 Andrew Bowman.

authType

Authentication method used for this Admin user. Types include:

  • CM — Validates the user to a database on the local FortiNAC appliance.
  • LDAP — Validates the user to a directory database. FortiNAC uses the LDAP protocol to communicate to an organization’s directory.
  • RADIUS — Validates the user to a RADIUS server.

fn

User's first name.

ln

User's last name.

email

User's e-mail address. For multiple e-mail addresses, enter addresses separated by commas or semi-colons. Messages are sent to all e-mail addresses provided.

addr

User's mailing address.

city

User's city.

st

User's state.

zip

User's postal code.

ph

User's telephone number.

title

User's title.

notes

Notes about this user.

expireDate

Expiration Date — Date that the user is aged out of the database. Date format is MM/dd/yy HH:mm AM/PM Timezone or 04/07/10 08:11 AM EST.

createDate

Creation Date — Date that the user record was created. Date format is MM/dd/yy HH:mm AM/PM Timezone or 04/07/10 08:11 AM EST.

smsNum

Mobile Number — User's mobile phone number. This can be used to send SMS Messages based on events and alarms.

smsPro

Mobile Provider — The carrier or provider for the user's mobile phone. This must match the name of one of the providers in the Mobile Providers list in the database. See Mobile providers.

Sample import file

Below is a sample .csv file for importing Admin users. the profileName and uid fields are required.

profileName,uid,authType,fn,ln

Administrator,ajones111,LDAP,,Jones

Administrator,admin111,CM,Admin,User111

Conference Accounts,dpcuser,CM,Elaine,White

Conference Accounts,ajames,CM,james,james

Import admin users

Admin users can be imported into the database from a .csv (comma separated value) file through the Admin Users View.

Create an import file

To import Admin users create a comma separated value (.csv) file using any text editor or spreadsheet tool. If you are using a text editor to create the file, use commas to separate the fields when you enter the data. Use carriage returns to separate records.

The first row in the file is a header row and must contain a comma separated list of the database field names that are included in the import file. The order of the fields does not matter. For example, to import admin users the header row could have the following fields: profileName,uid,authType,fn,ln

Unless otherwise specified, data type is a string with no size limitations. Fields are case sensitive. For example, if you have User IDs SMITH123 and Smith123, the database treats these as two separate user records. If you import something that already exists in the database, the existing record is updated with the new data from the import.

Note

If you import an existing Admin user, all fields will be replaced by those in the import file.

Note

When you select the Make Importable check box while exporting users, any user with an authentication type of "LDAP" is imported as a local user.

Imported data is displayed on both the Admin User view and the User View. The table below lists all of the possible import data fields by the name that should be used in the header row, indicates which fields are required and provides a definition for each field.

Fields

Field

Required

Definition

profileName

Yes

Admin Profile — Administrative Users must have an associated Admin Profile that provides them with permissions for features in FortiNAC. Enter the name of the Admin Profile that matches an existing Profile in the database.

uid

Yes

User ID — Unique alpha numeric User ID.

If a directory is used for authentically the FortiNAC database is synchronized with the directory, data for users with matching IDs is overwritten with data from the directory. For example, if you import a user with ID AB118 named Ann Brown and the directory contains a record of AB118 as Andrew Bowman, then your database shows AB118 Andrew Bowman.

authType

Authentication method used for this Admin user. Types include:

  • CM — Validates the user to a database on the local FortiNAC appliance.
  • LDAP — Validates the user to a directory database. FortiNAC uses the LDAP protocol to communicate to an organization’s directory.
  • RADIUS — Validates the user to a RADIUS server.

fn

User's first name.

ln

User's last name.

email

User's e-mail address. For multiple e-mail addresses, enter addresses separated by commas or semi-colons. Messages are sent to all e-mail addresses provided.

addr

User's mailing address.

city

User's city.

st

User's state.

zip

User's postal code.

ph

User's telephone number.

title

User's title.

notes

Notes about this user.

expireDate

Expiration Date — Date that the user is aged out of the database. Date format is MM/dd/yy HH:mm AM/PM Timezone or 04/07/10 08:11 AM EST.

createDate

Creation Date — Date that the user record was created. Date format is MM/dd/yy HH:mm AM/PM Timezone or 04/07/10 08:11 AM EST.

smsNum

Mobile Number — User's mobile phone number. This can be used to send SMS Messages based on events and alarms.

smsPro

Mobile Provider — The carrier or provider for the user's mobile phone. This must match the name of one of the providers in the Mobile Providers list in the database. See Mobile providers.

Sample import file

Below is a sample .csv file for importing Admin users. the profileName and uid fields are required.

profileName,uid,authType,fn,ln

Administrator,ajones111,LDAP,,Jones

Administrator,admin111,CM,Admin,User111

Conference Accounts,dpcuser,CM,Elaine,White

Conference Accounts,ajames,CM,james,james