Creates a new user.
The created User.
The user's username.
The user's password.
The user's role. Possible values are "admin", "user", and "view-only"
The user's ID (optional).