Adding a user account
This page describes how an administrator creates a user account in the control panel. It lists the steps, the required fields, the e-mail with the sign-in details, and the limits that can stop the creation of an account.
Who can add accounts
These administrators can add accounts:
- the superuser
- every independent administrator
- a regular administrator who has the permission
User can create new user accounts.and who manages at least one group
The other administrators do not see the Add new button. See
Administrator permissions.
Other ways to create accounts
The control panel is not the only way to create an account:
- FileRun creates a guest account when a user shares a file or a folder with an e-mail address that
has no account. The form described on this page does not offer the
Guestrole. See Guest accounts. - People can create their own accounts on the sign-up page, when sign-up is on. See User sign-up.
- An authentication plugin can create an account when a user signs in for the first time. See Authentication integration.
- The superuser can create many accounts at once from a CSV file. See Importing and exporting user accounts.
- A program can create accounts through the API. See API: Add FileRun user accounts.
Steps
- Open the control panel.
- Click
Users→All users. - Click
Add new. The tabAdd useropens. - In the
Basic infotab, type the first name and the last name in the two fields ofName. Type theE-mail address. - In the
Logintab, type theUsernameand thePassword. To generate a random password, click the button with the tooltipGenerate password, at the right end of the field. - Optional: in the
Logintab, checkSend a notification now, to send the sign-in details to the user. See The e-mail with the sign-in details. - In the
Permissionstab, choose a role, or set the permissions one by one. Set the home folder. See The role and The home folder. - Optional: in the
Groupstab, add the account to groups. - Click
Add user.
When the account is created, the tab closes, and the list of users shows "User successfully created.". The new account is active at once.
The fields of each tab are described in Editing a user account. The permissions are described in User permissions.
Required fields
These fields are always required:
- the first field of
Name, which holds the first name UsernamePassword
The Username has these rules:
- It must be unique.
- It can contain only Latin letters, digits and the characters
_,-,@,.and+. - FileRun saves it in lower case.
The password must follow the password rules of the installation. The rules do not apply when the superuser creates the account. See Sign-in and passwords.
The first name and the last name cannot contain the characters < and >. The E-mail address
is not required, but it cannot be the address of another account.
Some fields are required only in some cases:
- A regular administrator who does not manage all the groups must add the account to at least one
group, in the
Groupstab. - An independent administrator who has a space quota must give the account a
Space quota. See The limits of an independent administrator.
A regular administrator can add the account only to the groups that the administrator manages. An independent administrator can add the account only to the groups that they created. When one of the groups is not allowed, FileRun refuses to create the account.
When a required field is missing
FileRun checks the fields when you click Add user. When a check fails, FileRun does not create the
account. It shows "Failed to create user!", followed by the reason. Examples of reasons:
- "Please type a name!"
- "Please type a username!"
- "Please type a password!"
- "Username already in use. Please choose another one."
- "Please don't use special characters for the username!"
- "A name cannot contain the characters "<" and ">"."
- "The e-mail address is already used by another user account!"
- "You are required to select at least one group for the user."
The tab stays open, with the values that you typed. Correct the field and click Add user again.
The e-mail with the sign-in details
When Send a notification now is checked, FileRun sends an e-mail to the address of the new account.
The e-mail is sent only when the account has an e-mail address. Without an address, FileRun creates
the account and sends nothing.
The e-mail has these parts:
- the subject "Account information"
- a greeting with the first name of the user
- the sentence "Thank you for signing up!"
- the username and the password, under "Here is your temporary login information:"
- the name and the address of the installation
The password is in clear text in the e-mail. In the e-mail log of the control panel, FileRun
replaces the password with [password].
The e-mail is written in the language that is selected in the Language field of the account.
When the e-mail cannot be sent, FileRun still creates the account. The message "User successfully created." is then followed by "The e-mail with the sign-in details could not be sent!". To send e-mail, FileRun needs a working mail server. See The e-mail notification system.
Tip
The e-mail calls the password a temporary one. To make the user choose their own password, also check
Require user to change the password, in theLogintab. This option is shown only whileUser can change authentication settingsis checked.
The role
The role is in the Permissions tab, in its Role tab. By default, the Role field holds
- None -, and you set the permissions of the account one by one.
When you choose a role, the role sets the permissions of the account. You can no longer change the individual permissions of the account.
The list of roles depends on who you are:
- The superuser sees every role, except the
Guestrole. - An independent administrator sees the roles that they created.
- A regular administrator sees the roles that no independent administrator created.
- Only the superuser can give a role that makes the account an administrator.
See Roles.
The home folder
The home folder is set in Permissions → Home folder → Path. FileRun creates the folder when it
does not exist. An account can also have no home folder, when the path is empty. When the account
has a role, or when you have a home folder template, FileRun builds the path from the template. See
Home folders.
Limits that stop the creation
The limit of the license
The license of the installation allows a certain number of user accounts.
When the license has no free place for a new account, Add new opens a message instead of the
form:
- The superuser sees the page "The user account limit of the license has been reached.". The page links to your client account, where you can see the upgrade options.
- Another administrator sees "New user accounts cannot be created at the moment! For more information, please contact the server administrator.".
When the limit is reached while the form is open, Add user fails with "You cannot create user
accounts anymore, the limit was reached!".
The limits of an independent administrator
The superuser can limit the number of accounts that an independent administrator can create. The
limit is Max users, in the Admin tab of the account of the independent administrator. When the
independent administrator reaches the limit, Add user fails with "You cannot create user accounts
anymore, the limit was reached!". Guest accounts do not count for this limit. They have their own
limit, Max guest users.
An independent administrator can also have a space quota. In that case:
- Each new account must have a
Space quota, or a role that has a space quota. Without it, FileRun refuses with "You are required to set a space quota for this user!". - The quotas of all the accounts that the independent administrator created cannot be larger than the quota of the independent administrator, in total.
- When the quota of the new account is larger than the space that is left, FileRun refuses it. The message gives the space that is left, for example "The maximum space quota you can assign to this user is 500MB!".
- When no space is left, FileRun refuses with "There is no space quota available for this user!".
See Administrator permissions and Storage quotas.