Hornbill How To: Create Users in Hornbill

From Hornbill
Revision as of 21:35, 3 April 2019 by Jamesa (talk | contribs) (Created page with "{{DISPLAYTITLE:Hornbill How To: Create Users in Hornbill}}__NOTOC__ {| style="width:100%" |Home > How To |style="text-align:right;"|Index |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Home > How To Index

Introduction

This How To looks at the different options and methods for adding Users to Hornbill.

Related Articles

Creating User Accounts

User Accounts are created and managed via Hornbill Administration. To Create more Users, you will need to ensure your User account has the following roles associated:

  • Admin Role
This role provides administrative functionality to the collaboration core and should only be granted to an administrator.


There are a number of ways in which User accounts can be created in Hornbill and details can be found in the sections below. When creating User accounts you will be required to associate appropriate roles in order to provide access to Application features and functionality. Information on roles can be found here.

Creating an Individual User Account

  1. Click on Create New User located at the top right of the list
  2. Supply the mandatory information in Basic Information
  3. Change any regional settings as required
  4. Under Security settings select the appropriate roles for that user
  5. Click on 'Create User


Creating Multiple User Accounts via CSV Upload

When a large number of user accounts need to be created, a CSV file can be a quick and simple way to achieve this. A CSV template is provided which includes some of the standard fields that are required to create a new user account.

  1. From the User list menu, select Upload Users action from the Account Management Actions drop down menu.
  2. Click on the Download Template File button
  3. Populate the CSV Template File with the users that you wish to upload
  4. Click on the Select CSV File to Upload button
  5. View and check upload results

The CSV template consists of the following fields:

  • userId - The User Id should ideally be made up of alphanumeric characters although full stops (.) and underscores (_) are permissible. The User Id plays a key role in the database relationships so once it is created, it is not possible to amend. This is a mandatory field.
  • name - This field will form the "Handle" for the User. This is what will be visible when posting to a Workspace or Request Timeline eg: "Harry Hornbill posted on Workspace Hornbill Collaboration Discussion". In this example, Harry Hornbill would be the Handle. This field can be amended at any time. This is a mandatory field so a value must be provided for the upload.
  • password - The password which the User will use to log on to the Hornbill Platform. This is a mandatory field.
  • firstName - The first name of the User. This is a mandatory field.
  • lastName - The last name of the User. This is a mandatory field.
  • jobTitle - The Users Job Title. This field is optional, and can be left blank.
  • phone - The Users telephone number. This field is optional, and can be left blank.
  • email - The email address of the User.This is a mandatory field.
  • mobile - The mobile number of the User. This field is optional, and can be left blank.
  • role - The Hornbill roles that this User requires to perform their day to day duties within Hornbill should be specified here. All those who will access the Platform require the "Collaboration Role" as a minimum. In addition, if they are a Support Desk Analyst, then they may also require the "Incident Management User" role. When specifying multiple roles in this field they should be separated by a colon (:). e.g. to associate the two roles mentioned here, the contents of the role field will look like: Collaboration Role:Incident Management User. The following wiki page will help provide background to the various Platform and Application Roles available.
  • userType - The User Type is used to specify whether the User will be an Application User (full platform access based on the Subscriptions) or a Basic User (access is restricted to the Hornbill Service Portal). This field should contain either "user" or "basic" which is case-sensitive. If nothing is specified in this field, the User account created will default to that of an Application User.
  • site - while a "Site" column doesn't appear in the downloaded template, the CSV mechanism is aware of this concept. An additional column can be added after "userType" (titled "site") and where a valid site ID is specified the CSV upload mechanism will make the site association successfully to the user. Of course, a list of sites must exist in your instance in order for you to identify and use the appropriate ID which can be found in the URL when viewing a site record. See Sites for more information on importing a list of sites.


Example of a prepared CSV Template


If you plan on using a third party automation tool to generate the CSV, the case of the field headings is important. The CSV upload function is expecting the field headings in the following order and format: userId, name, password, firstName, lastName, jobTitle, phone, email, mobile, role, userType. If the headings are in any other form, out of sequence, or missing, the Upload will be unsuccessful.

The result of a successful upload is shown below:

Example of a prepared CSV Template


Auto Provisioning via SSO

In a Collaboration only environment this is a very effective approach. The creation of user accounts can be automated as part of the Single Sign-on (SSO) configuration meaning no physical import is required if SAML is available. Your users are self-provisioned automatically when they first navigate to your Hornbill instance.

  1. Create User Template
  2. Configure Single Sign-on
  3. Define Auto Provisioning settings

Information regarding the configuration of Hornbill for use with Single Sign On can be found here: Single Sign On with SAML 2.0

Hornbill User Import Utilities

Application User and Basic User accounts can be created based on the content of another data source such as your Directory Service or an MSSQL database using one of Hornbill's Open integration Utilities. A user import utility is the preferred choice for an implementation involving Service Manager. All Hornbill user import utilities can be scheduled to create new, and update existing, end user accounts.

What Method of User Account Creation Should I use?

Hornbill offers a range of mechanisms that can be used to create user accounts. The one that is right for you will typically depend on the size of your organisation and staff turnover. Below you will find some frequently asked questions in relation to the import mechanisms that were outlined above.

When is an account created?

CSV Upload: A user account is created when the upload is initiated via Hornbill Administration.

Auto-Provisioning: A user account is created when a user navigates to live.hornbill.com/[your_instance_name]/ or service.hornbill.com/[your_instance_name]/ for the first time.

Import Utility: A user account is created at the time the chosen utility is scheduled to run. All the Hornbill utilities are scheduled using windows task scheduler. The time the utility is scheduled is dependent on your organisations requirements (i.e. when you need user accounts to be available in Hornbill).

What Information is used when creating the account?

CSV Upload: The account is created using the contents of the CSV template selected.

Auto-Provisioning: The account is created based on the contents of your directory services transported through the attributes specified in the outgoing claim of your Identity Provider. The directory attribute-to-Hornbill mappings are stored in the Hornbill SSO Profile.

Import Utility: The account is created based on the contents of your directory services transported via the import utility. The directory attribute to Hornbill mappings are stored in the conf.json file.

Do all methods update existing Hornbill user accounts when user information changes?

CSV Upload: No. The CSV upload is designed only for the creation of new accounts. It is not capable of updating existing user accounts.

Auto-Provisioning: Yes. Updates to existing user accounts are supported via auto-provisioning.

Import Utility: Yes. Updates to existing user accounts are supported by all the user import utilities.

Is there a difference in the user account information that can be maintained by each method?

Auto-provisioning does not maintain department (Group) associations and the site associations are limited to a single site specified in the Auto-Provisioning template. Only a single user template can be used in conjunction with a Hornbill Security profile (Single sign on configuration).

The import utilities have the ability to maintain a greater range of user account properties. They also have the ability to make associations between user accounts and site records and also department (group) membership based on the contents that exist in your directory services.