Class: User

SRPServerPrototype~ User

new User()

User Manager (singleton)
Source:

Members

users :Array

user list (may be stored in database)
Type:
  • Array
Source:

Methods

getUserByName(name, callback)

return user object by name
Parameters:
Name Type Description
name string (name)
callback function (function(user) {})
Source: