-
-
Notifications
You must be signed in to change notification settings - Fork 2
set demousers
This command helps you add a handful of test user accounts to be used on your DNN website. These user accounts are generic user accounts, using popular (geeky) characters from various movies in recent years.
This is not meant to be used in production, necessarily. Instead, the intent is for this command to be used to help you prepare demos and test environments more easily. This could be for sales presentations, conference/user group demos, internal demos, etc. It's really up to you.
Command | Description |
---|---|
set-demousers |
Adds a handful of user accounts that can be used for testing. The password for each user account is Dnn2002! . |
This prompt does not have any flags at this time.
If successful, you should see a message for each demo user, stating the result of the creation of the account.
User Created:
Successfully created user: Jane Doe (jdoe@example.com).
User Exists:
User already exists, not created: Jane Doe (jdoe@example.com).
Error Creating User:
Error creating user: Jane Doe (jdoe@example.com).
(if this happens, check the Admin Log to see why, or run set-debug
and then check the Log4NET log file for more details.)
The password for each user account is the same. See the command notes above.
This command has a companion command, delete-demousers
. The delete-demousers
command will remove the users created by the set-demousers
command, here.
Users Created and Deleted
Users Already Exist on Create
Users Don't Exist on Delete
Are you getting any value out of this content and/or the source code here?
Please consider becoming a sponsor. Any amount is appreciated!
This project is donated to the DNN Community and the world by Upendo Ventures.
If you need support or would like to sponsor an enhancement for any of our open-source projects, please contact us.