How to Create New Admin User in Magento 2

From Magento 2 configuration, you can create admin user accounts as many as you need but they will be set in different access level if you ask. For example, you can assign the view and change only for websites or stores without any global settings or data.
To limit the access permissions for admin user accounts, you can complete the required credentials on the Magento Administrator, that will describe in details in the tutorial I am writing here.
Create New Admin User in Magento 2, folowing steps:
- Step 1: Configure User Information
- Step 2: Determine Admin User Role
- Step 3: Check result
- Create admin account via command line
Step 1: Configure User Information
- On the Admin panel, click
System
. In thePermissions
section, selectAll Users
. - In the upper-right corner, click
Add New User
button - In the
Account Information
section, do the following:
- In the
User Name
field, enter the user name for account. It is not case-sensitive. -
Complete the following information:
- First Name
- Last Name
- Email address: this email address must be unique.
-
In the
Password
andPassword Confirmation
field, enter correctly the password, the password should be secured, should contain more than seven characters and should include both letters and numbers. -
In the
Interface Locale
field, select the language to be used for the Admin interface if your store has multiple languages. -
In the
This Account is
field, set toActive
- In the
Current User Identity Verification
section, enter your password inYour Password
.
Step 2: Determine User Role
- In the panel on the left, choose
User Role
. The grid lists all the existing roles. Initially, the only role available is Administrators.
- In the
Assigned
column, select theAdministrators
option. - When complete, click
Save User
.
Step 3: Check result
Flush cache and check your result.
Create admin account via command line
Another way to a create admin account / user, we can create a new admin user via command line (cli). Here is how to do it.
Go to Magento 2 root folder, run create a new admin user command line:
bin/magento admin:user:create
It will ask you: username, password, email, first and last name.
Here is what we filled:
Admin user: mageplaza
Admin password: YourPassword
Admin email: [email protected]
Admin first name: Mageplaza
Admin last name: Team
And get result:
Created Magento administrator user named mageplaza
Flush cache and check your result.
Explore Admin Permissions extension!
Related Topics
Abandoned cart email.

Recent Tutorials

Magento 2 Admin Panel
6 Steps to Creating an Extension Package File in Magento
How to build landing pages in Magento store?
Comments for Create New Admin User
Explore Our Products:
People also searched for
- create admin user magento 2
- create new admin user magento 2 command line
- magento 2 create new admin user
- magento 2 add admin user
- magento create admin user
- magento 2 admin user create
- create admin account magento 2
- how to create new admin user in magento 2
- magento 2 create admin user programmatically
- how to create admin user in magento 2
- magento 2 create admin user terminal
- magento 2 create admin
- magento 2 create admin user command line
- magento 2 create admin user command
- magento admin user create
- magento create user
- bin/magento admin:user:create
- magento 2 create admin user using command line
- magento 2 create admin user in database
- magento 2 create admin user sql
- magento 2 create new admin user cli
- magento 2 admin tutorial
- magento 2 create admin user ssh
- magento 2 create admin user cli
- magento 2 create user command line
- magento create admin
- magento create new admin user
- magento 2 create user programmatically
- magento add admin user
- magento 2 add admin user cli
- magento create new admin user
- magento add admin user
- 2.2.x, 2.3.x, 2.4.x
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!