Managing Users

Table of Contents

Getting Started
Managing User Directories
Creating a User Directory
Viewing a User Directory
Exporting Users
Importing Users
Editing a User Directory
Managing User Roles
Deleting a User Directory
Managing Users
Creating a New User
Viewing a User
Editing a User
Deleting a User
Adding User Management to Your Web Site
Adding a Protected Area
Adding User Registration
Adding a Log In Form
Adding a Password Reset Form
Allowing Users to Update Their Account
Displaying User Identity Data
Managing Control Panel Users
Creating a New User
Editing a User
Deleting a User
Disabling a User Account
Managing Control Panel Roles
Creating a Role
Viewing a Role
Editing a Role
Deleting a Role
Managing Control Panel Permissions

Recite CMS makes it easy to manage your web site users through the user directories. You can create any number of separate user directories, each of which can have any number of users.

Directories can be used in several ways. For example, if your site has a "register for newsletter" feature, you can add anyone who completes this form to a user directory called Newsletter Users.

Additionally, your site might also have a "members-only" area, where people can register on your site then have access to an area not accessible to normal visitors.

You can store a different set of fields for each of these sets of users. For example, you might only need an email address from a newsletter user, but from a member you might also want their name, address and country.

This chapter tells you how to manage users and user directories, including how to add user registration, log in, log out, and update account details functionality.

Additionally, this chapter will tell you how to manage Control Panel users. These are the users that can log in to Recite CMS and make changes to your web site.

Getting Started

There are seven different Control Panel widgets available to help you manage users. These are as follows:

  • User Directories. This widget lists all of your user directories. Clicking on a single user directory will load it in the User Directory Viewer widget.

  • User Directory Viewer. This widget is for viewing the details of a single user directory. You cannot add this widget manually - it is automatically created when you click on a user directory in the User Directories widget.

  • User Viewer. This widget is for viewing the details of a single user. You cannot add this widget manually - it is automatically created when you click on a user either in the User Directory Viewer widget or in the Control Panel Users widget.

  • Control Panel Users. This widget is used to view Control Panel users. These are the users who can log in to the Control Panel and make changes to your web site.

  • Control Panel Roles. This widget is used to manage the different Control Panel roles. A role is a category of user. You can control the level of access a user has by their role.

  • Control Panel Role Viewer. This widget is used to view the details of a single role. You can manage the list of modules that users of this role have access to.

  • Control Panel Permissions. This widget is used to manage specific permissions for the modules a user role has access to.

These widgets can be added manually (form the User Management category in the widget browser), or you can create a new tab using the Users pre-defined layout.

The following figure demonstrates this layout. The tab is a two-column layout, with the User Directories widget in the left column and the Control Panel Users widget in the right-hand column.

Figure 10.1. Sample tab layout for managing users

Sample tab layout for managing users

For the purposes of this chapter, I'll assume you're working with a tab having the same layout as the pre-built Users tab.