Ask your Question

PEOPLE YOU MIGHT KNOW

Graves Injury
Graves Injury

Vero Beach, FL 32960,  United States
Gauri
Gauri

Student

Pune,  India
Khushi
Khushi

Varanasi,  India
The Dunes
The Dunes

East Hampton, NY 11937 ,  United States
Zhenya
Zhenya

Bansko,  Bulgaria

Write to us

Ask Question

Create a new admin user in Magento 2 via command line

create-new-admin-user-in-Magento2-via-command line


The php bin/magento admin:user:create command is used to create new admin user via command line.


Syntax:   

php bin/magento admin:user:create --admin-user="your username" --admin-password="your password" --admin-email="emailaddress" --admin-firstname="User Firstname" --admin-lastname='UserLastName'

e.g :

php bin/magento admin:user:create --admin-user="admin" --admin-password="admin@123" --admin-email="info@letsknowit.com" --admin-firstname="Aditya" --admin-lastname='Singh'

1   0
Himanshi Saini

List Your Business

Improve Your Business Visibility

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site