RobotLib
1
A set of software wrappers for Rovio, Roomba and NXT robots written in C#.
|
Manage user accounts. More...
Public Member Functions | |
User (Robot _robot) | |
The constructor. | |
string | GetMyself (bool show_privilege) |
Get the username who sent this HTTP request. | |
void | SetUser (string name, string password) |
Add a user or change the password for the existing user. | |
void | DeleteUser (string name) |
Delete a user account. | |
string | GetUser (bool show_privilege) |
Get the users list. | |
void | SetUserCheck (bool value) |
Enable or disable user authorization check. | |
Public Member Functions inherited from Rovio.Component | |
Component (Robot _robot) | |
The constructor. | |
virtual void | Update () |
The Update function that manually refreshes the state of a given component (e.g. when AutoUpdate = false) | |
Additional Inherited Members | |
Public Attributes inherited from Rovio.Component | |
bool | AutoUpdate = true |
Automatic update option for methods requesting more than one piece of information. | |
Protected Attributes inherited from Rovio.Component | |
Robot | robot |
The robot class, accessible by all dervied classes. | |
Manage user accounts.
Rovio.API.User.User | ( | Robot | _robot | ) |
The constructor.
void Rovio.API.User.DeleteUser | ( | string | name | ) |
Delete a user account.
string Rovio.API.User.GetMyself | ( | bool | show_privilege | ) |
Get the username who sent this HTTP request.
string Rovio.API.User.GetUser | ( | bool | show_privilege | ) |
Get the users list.
void Rovio.API.User.SetUser | ( | string | name, |
string | password | ||
) |
Add a user or change the password for the existing user.
void Rovio.API.User.SetUserCheck | ( | bool | value | ) |
Enable or disable user authorization check.