The User defines the user parameters. The User object can be instantiated in the scripting environment. A list of existing users can be retrieved by calling ControlCentre.users(). A new user may be added by the following:
More...
#include <scriptojbects.h>
The User defines the user parameters. The User object can be instantiated in the scripting environment. A list of existing users can be retrieved by calling ControlCentre.users(). A new user may be added by the following:
var user =
new User(
"Buffy");
user.firstName = "the";
user.lastName = "VampireSlayer";
Enumerator |
---|
RD |
|
EXECUTIVE |
|
COORDINATOR |
|
APPLICATION |
|
TD |
|
ARCHIVE |
|
XSHEET |
|
SCAN |
|
INK_PAINT |
|
ANIMATOR |
|
User::User |
( |
const String & |
user, |
|
|
QObject * |
parent |
|
) |
| |
User::User |
( |
const User & |
user | ) |
|
String User::firstName |
( |
| ) |
const |
String User::lastName |
( |
| ) |
const |
String User::name |
( |
| ) |
const |
String User::oldUserName |
( |
| ) |
const |
void User::setFirstName |
( |
const String & |
text | ) |
|
void User::setLastName |
( |
const String & |
text | ) |
|
void User::setName |
( |
const String & |
text | ) |
|
String User::typeToString |
( |
UserType |
id | ) |
|
|
slot |
Convert to a readable string.
String User::_oldUserName |
|
private |
type which determines permissions.
The documentation for this class was generated from the following file: