Description
User Tools adds missing features to user management, such as basic user activities, including last login, registration dates and user switch from the User administration screen. You can deactivate users without deleting them, allowing you to maintain your ownership of past user activity and content.
SECURITY
Disabled user
Your own user or the first created used cannot be disabled. Disabled user will not lost data or be deleted under any circumstances.
User switching
Only users with the ability to edit other users can switch user accounts. Unless you create new roles with this capabilities, this is only Administrators on single site installations, and Super Admins on Multisite installations.
Passwords are not (and cannot be) revealed.
Uses the cookie authentication system in WordPress for user switching.
Implements the nonce security system in WordPress, meaning only those who intend to switch users can switch.
Full support for user session validation where appropriate.
Full support for administration over SSL (if applicable).
** REST API Support **
The field last_login is included as a result in endpoint wp/v2/users/.
Filtering the endpoint wp/v2/users/ using parameter last_login is also supported.
USAGE
Disable user
- Visit the Users menu in WordPress and you will see a enable/disable switch in the list of each user.
- Click on the “Activate” switch to disable (gray) or to enable (blue).
- Visit every user profile and check/uncheck “Activate user login” to enable/disabled the user.
Switch user
- Visit the Users menu in WordPress and you will see a “Switch to” link in the list of each user.
- Visit every user profile and click on the “Switch to {user}” to switch to the user.
- You will be able to switch back using the message that will appear in every admin screen.
- You will be able to switch back using the “Switch back to {user}” located in the User menu in the admin bar.
- If the user you switched to does not have access to the admin screens you will be able to switch back using the link located in the right bottom corner of the screen.
User Columns
- Visit the Users menu in WordPress and you will see a “Last Login”, “Registered” and “ID” columns by default in the list of each user.
- Disable all or any column clicking “Screen Options” on the right top corner of the screen.
** Retrieve Last Login info using REST API **
- Get last_login field with ISO 8601 form on endpoint wp/v2/users/
- Filter using parameter last_login using the following options wp/v2/users/?last_login=FROM,[TO:optional] using ISO 8601 or Y-m-d format.
PRIVACY STATEMENT
This plugin makes use of browser cookies in order to allow users to switch to another account. Its cookies operate using the same mechanism as the authentication cookies in WordPress core, which means their values contain the user’s user_login field in plain text which should be treated as potentially personally identifiable information (PII) for privacy and regulatory reasons (GDPR, CCPA, etc). . The names of the cookies are:
- wp_usrtk_user_from_{COOKIEHASH}
- wp_usrtk_user_switched_{COOKIEHASH}
Screenshots
Installation
- Upload
user-toolkit
to the/wp-content/plugins/
directory or install directly through the plugin installer. - Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer.
- Disable any extra column you don’t want, using Screen Options in the Users screen.
- Enable or disable any user login access in the Users screen or in the User Edit screen.
FAQ
-
Will this plugin deactivate all users login by default?
-
No. All users will remain active by default. You select what users do you want to deactivate.
-
Last Login dates will be displayed as soon as I activate User Tools?
-
No. WordPress does not have that information. It’s introduced with the plugin so will be tracked as soon as you enable it. However, we are working to have the last activity of the user available as soon as the plugin is activated, even if the user has not logged in yet.
Reviews
Contributors & Developers
“User Toolkit” is open source software. The following people have contributed to this plugin.
Contributors“User Toolkit” has been translated into 3 locales. Thank you to the translators for their contributions.
Translate “User Toolkit” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.2.3
- Fixed styles for switch to previous user modal box
1.2.2
- Fixed the user switch. Now is on left when disabled, and in right when enabled.
- Fixed broken styles on use switch when other plugins are installed.
- User “switch info” widget is displayed on top of everything, on client view.
1.2.1
- Added last_login as a filter parameter in user endpoint.
1.2
- Last Login date is now filterable in User List
- Added last_login field to Users endpoint
- Improved the Login Status filter in User List
1.1.4
- Fixed and issue that prevents user switching if there is no access to wp-login.php
1.1.3
- Fixed and issue that prevents user to be ordered by Last Login
1.1.2
- Fixed an issue that allows disabling the first user created.
- Fixed an issue that disabled the user when editing their own profile.
1.1
- Switch to any user account from the Users screen and be able to switch back to your own user later.
- Fix: First created user cannot be disabled.
1.0.4
- Same user displays ON/OFF in login status in User List
- Same user cannot disable his own login status in User List
1.0.3
- Stability and security improvements
1.0.2
- Ability to migrate last login data from When Last Login and Ultimate Member plugins
1.0.1
- Downgraded to support PHP 7.3
1.0.0
- Initial Release