Adding and Managing Users¶
Core user management activities include adding, editing, and deleting users. These activities are typically restricted to Administrative users.
From the Product Menu, click Control Panel → Users → Users and Organizations.
In the Users tab, click the Add button .
Fill out the Add User form and click Save. At a minimum, provide a Screen Name, First Name, Last Name, and Email Address for the User.
Screen names and email addresses are not interchangeable. A screen name cannot contain an @ symbol because it is used in the URL to a User’s private page.
The Add User functionality is split over several independent forms. Save the first form to create the User, and then you’ll see a success message saying Success. Your request completed successfully.
Once you create the User, additional information can be added.
Setting Passwords for New Users¶
When you create a User, Liferay DXP generates his/her password. If a mail server was set up, Liferay DXP sends an email message with the User’s new password.
If you haven’t set up a mail server, click the Password item from the General menu and manually set a password for your new user. Enter the new password twice.
Click on Users and Organizations in the Control Panel
Click the Actions button () next to that user to edit.
The following options are available:
|Edit||Modify any aspect of the User account.|
|Permissions||Define which Roles have permissions to edit the User.|
|Manage Pages||Configure the personal pages of a User.|
|Impersonate User||Browse the Site in another window as though you were that User.|
|Deactivate||Disable the user's account.|
|Erase Personal Data||Delete the User's personal data.|
|Export Personal Data||Download the User's personal data.|
Deactivating and Deleting Users¶
Removing Users is a two-step process for several reasons:
You or the User may decide you really wanted that account.
Users are often tied to content with possible legal ramifications in your country.
You may need time to review a User’s account activity before removing all evidence of that User’s existence.
For these and more reasons, you must first deactivate a User before deleting that User.
Deactivating a User prevents the user from logging in, but preserves the User. You can toggle between active and inactive Users in the Users view. If all the Users are active, this filtering option doesn’t appear.
To deactivate a user,
Navigate to Control Panel → Users → Users and Organizations to locate the User to deactivate.
Click the Actions () menu for the User and select Deactivate.
The User is now deactivated and can no longer log in. Users can be reactivated by finding them in the Users table (be sure you’re filtering the table results by Deactivated users), clicking the Actions menu, and selecting Activate. There’s no confirmation window for activation: they’re automatically restored to their former status once Activate is clicked.
To guard against accidental deletion of Users, users must be deactivated first, and then can be deleted.
Deactivate the user.
Click on Filter and order in the top of the table and a selector appears. Click Inactive, and you can see the User you just deactivated.
Click the Actions menu again, and click Delete if you really mean to delete the User.
The user is deleted. There is no way to recover the User once deleted besides restoring from a prior backup.
You can impersonate Users to view the system as the User would see it. This helps to diagnose permission issues an administrator can’t see, such as making sure a User doesn’t have access to sensitive data. Only Users with the Administrator Role can impersonate.
Click Control Panel → Users and Organizations to see the list of Users and find the one you want to impersonate.
Click that User’s Actions button ().
Click Impersonate User.
This opens another browser window logged in as that User.
Resetting a User Password¶
The Add User functionality includes a Require Password Reset check box at the bottom of the Password form. The default password policy prevents administrators from de-select this option. You can, however, modify the default password policy so this box becomes usable.
Navigate to Password Policies in Control Panel → Users.
Click on the Default Password Policy.
De-select the Change Required switcher in the Password Changes section. Now you can decide whether users you add must reset their passwords.
See Password Policies for more information on editing the default policy or creating your own.