Adds new user to the currently selected user file.
If no user file was specified, the function has no effect.
- Source:
- robotdll/robotdll.h:965
- Author:
- Version:
- latest version
- Params:
| id
| robot object handle
|
| user
| new username
|
| password
| the password for the new username
|
- Returns:
- if the user has been successfully added to user file, function returns 1, otherwise it returns 0
- See Also:
- robot_userfile, robot_deluser, robot_listusers
- Code:
public ROBOTDLL_API short robot_adduser ( | short id , |
| | const char * user , |
| | const char * password ) |