User.login( name )

login as user

Params:

  • name: a string, can be one of 'admin', 'jesse', 'aaron', 'dan'.

📘

Why user?

User class is a temporary solution, designed for integration with a web console in the future. The idea is that each user can only control his/her simulation and listen to their simulation. Right now since each user use individual database, it is only a dummy class.