Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,220 of 9,220 pages
About the help in other languages
All help pages

Lesson 2.2: Creating and managing user accounts

Learners create user accounts at example.invalid, place a user in a second group, move a user, and disable and enable an account. 40 minutes.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/trainers/site-administrators/module-02-users-and-groups/creating-and-managing-user-accounts.md

On this page

Lesson 2.2: Creating and managing user accounts

Creating accounts is the administrator task done most often. This lesson covers the whole life of an account short of its removal: creating it in the right group, adding a second group, moving it, and switching it off and on.

Note

Test accounts always use addresses at example.invalid. That domain is reserved and can never receive mail, so a training site can never write to a real person.

At a glance

CourseSite administration
ModuleModule 2: Users and groups
Duration40 minutes (15 presenting, 25 exercise)
LevelIntermediate
AudienceSite administrators
PrerequisitesLesson 2.1: the group Training team exists

Learning objectives

After this lesson, learners can:

  • create a user in a chosen group with a password that meets the site's rules;
  • add a second location so a user belongs to two groups;
  • move a user from one group to another;
  • disable and enable an account with Configure user account settings;
  • explain why the username cannot be changed later.

Trainer's notes

How to present it

Source: Change the administrator password and Roles, policies and unactivated users.

  1. Create (4 minutes). In a group, Create new > User. The User account field holds Username, Email, Password and Confirm password. The password must reach site.ini [UserSettings] MinPasswordLength (10 on a new installation); further rules can be switched on in [PasswordSettings].
  2. The username is permanent (2 minutes). Once an account has a username, it cannot be changed. Choose a scheme (first name and last name, or a staff number) before creating many accounts.
  3. Two groups (3 minutes). On a user's Locations tab, add a location in a second group. The user now has the roles of both groups.
  4. Moving (2 minutes). Move from the item's actions changes the main group. The rights change at once.
  5. Switching off (4 minutes). Below the User account field on the user's page, Configure user account settings (user/setting/<user id>) has Enable user account, Maximum number of failed login attempts and Reset for failed attempts. A disabled account cannot sign in and its sessions end; its content stays.

Common questions

Can I give a user a role directly, without a group? Yes, a role can be assigned to a single user, but assigning to groups is easier to keep track of. Module 3 explains it.

What happens to the content a user created when the account is disabled? Nothing. It stays published, with the user as its owner.

Can I import many users at once? Not from these pages. Large imports are a developer task; this course creates accounts one by one.

Pitfalls

  • Real addresses. Learners type their own address out of habit. Check every account for example.invalid.
  • Weak passwords refused. The form rejects passwords shorter than the minimum and well-known words. Let learners read the message; it names the rule.
  • Disabling admin or yourself. Never disable the account you are signed in with. On Check user accounts that is refused anyway (lesson 2.4); on the user's settings page it is not.

Hands-on exercise

On your training installation, signed in as an administrator:

  1. Open Users, then the group Training team from lesson 2.1.
  2. Under Sub items, press Create new and choose User.
  3. Fill in First name Tess, Last name Trainee, Username tess.trainee, Email [email protected].
  4. Type the password short in Password and Confirm password, and press Send for publishing. Read the message.
  5. Type a password of at least 10 characters twice and press Send for publishing.
  6. Create a second user the same way: Sam Sample, username sam.sample, address [email protected].
  7. Open tess.trainee, then its Locations tab. Add a location in the group Editors.
  8. Open the Roles tab of the user: which roles come from which group?
  9. Move sam.sample from Training team to Members.
  10. Open sam.sample's page and open Configure user account settings. Untick Enable user account and save.
  11. In a private browser window, open the public site's sign-in page (http://localhost:8088/user/login on the lab) and try to sign in as sam.sample. Note the message.
  12. Enable the account again and sign in once more in the private window.

Expected result

  • Step 4 is refused with a message about the minimum length.
  • tess.trainee has two locations, in Training team and Editors, and shows the roles of Editors.
  • sam.sample is in Members.
  • Step 11: the sign-in is refused while the account is disabled; step 12 succeeds.
  • The trainer checks by opening Check user accounts (lesson 2.4 shows it) or each learner's Training team.
The Administrator users group with its accounts and Create new for a new user
The Administrator users group with its accounts and Create new for a new user

Quiz

  1. Which fields make up the User account field?
  2. Can a username be changed after the account is created?
  3. A user is placed in two groups. Which roles does it have? A. Those of the first group B. Those of the main location only C. Those of both groups D. None until assigned
  4. Where do you disable an account?
  5. Why do test accounts use example.invalid?
Answers
  1. Username, Email, Password and Confirm password.
  2. No. The login cannot be changed once an account has one (Change the administrator password).
  3. C. A user belongs to every group it has a location in.
  4. On the user's page, Configure user account settings, Enable user account; or in bulk on Check user accounts.
  5. The domain cannot receive mail, so no test message reaches a real person.

Further reading

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x