Skip to content

set demousers

Will Strohl edited this page Aug 15, 2023 · 5 revisions

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.

Added In Version

Command

Command Description
set-demousers Adds a handful of user accounts that can be used for testing. The password for each user account is Dnn2002!.

Arguments

This prompt does not have any flags at this time.

Output

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.)

Additional Notes

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.

Screenshots

Users Created and Deleted
image

Users Already Exist on Create
image

Users Don't Exist on Delete
image