Back to top anchor
Documentation

Adding, editing, and deleting user accounts

We are updating our documentation library to be ready for Sector 10! Find out more in our Sector 10 roadmap or head straight to our collection of Sector 10 - Changes and Updates.

User role
Drupal Sitebuilder Site Administrators (UID1)
Task
Planning and maintaining your site
Topic
User roles and permissions
Product
Sector Ecosystem Sector Starter kit

There are right and wrong ways of managing users on your website - this guide explains how to add, edit, and remove user accounts.

In out-of-the-box Sector, only sitebuilders (Drupal administrators) are able to manage user accounts.

User management has critical security implications so should only be done by users with the required security level - learn more in Managing user accounts - who and why and in Preconfigured user roles, user profiles and permissions. 

In this guide

Add a new user

To add a new user, use the AdminUI toolbar and navigate to People > Add a new user

<your-domain>/admin/people/create

From the 'Add user' screen, you can:

  1. Assign the user a role, or multiple roles (learn more about roles in our article on preconfigured user roles).
  2. Set the user's email address, username, and password.
  3. Notify the user of their new account - this will send them an email with a link that allows them to log in and change their password (they don't need to know the password you set for them).

Edit an existing user

You can see a table of all user accounts by navigating to People in the AdminUI toolbar.

<your-domain>/admin/people

Edit a user by clicking the 'edit' button in the operations column. This allows you to change the details that were set for the user account. 

Block or unblock a user

Screenshot of user edit screen

The 'Status' field in a user account edit screen.

If you need to block or unblock a user's account (e.g. if their password has expired), this can be done by changing the status ( 1 ) - either to 'blocked' or 'active'.

Delete a user (safely!)

Do not cancel user accounts without a cancellation policy. If you don't have a policy set up, discuss the process with your team. Government entities need to consider compliance with legislation around public records, official information, and privacy, as well as with auditing requirements. The private sector entities needs to consider copyright and privacy policies. All user administrators need to understand what each cancellation option means for their specific site.

Screenshot of user edit screen

'Cancel account' option on a user edit screen 

At the bottom of the user edit screen is an option to 'cancel account' ( 1 ). Clicking this gives you a number of options for how the account is cancelled.

Screenshot of account cancel screen

Options for cancelling a user account.

If you are cancelling the account of an editorial user who has created or edited content on your site, you need to make sure you don't accidentally delete the content they worked on too. The first option - 'disable the account and keep its content' - is the safest option if you want to keep the content and keep track of who authored it.

Last updated

Sector 10 is coming!

Find out more in our Sector 10 roadmap.

Need Help?

Sector is brought to you by Sparks Interactive - supporting Sector from Wellington and Auckland

Open Source award winner!

Sparks Interactive are delighted to accept the Open Source Use in Business award for Sector and the Sector.nz open source platform.

Subscribe for Sector updates