Creates or updates a user for the viewer.
public ControllerReturnCode CreateUser(
string username,
string password,
string adminUsername,
string adminPassword,
bool isAdmin,
string[] permissions,
string[] roles,
CreateUserOptions options
)
username
The username being created or updated.
password
The password for the user being created or updated.
adminUsername
adminUsername.
adminPassword
adminPassword.
isAdmin
true if the user is admin; otherwise, false.
permissions
The user's permissions.
roles
The user's roles.
options
A CreateUserOptions object that specifies the options for this method.
A ControllerReturnCode value indicating the results of the call.