User Class Reference

The User JavaScript class. Defines the data base user parameters. More...

Public Types

enum  UserType {
  RD, EXECUTIVE, COORDINATOR, APPLICATION,
  TD, ARCHIVE, XSHEET, SCAN,
  INK_PAINT, ANIMATOR
}
 

Public Slots

String typeToString (UserType id)
 Convert to a readable string. More...
 

Public Member Functions

 User (const String &name)
 Defines a user object. More...
 

Properties

String name
 name More...
 
String firstName
 first name More...
 
String lastName
 family name More...
 
UserType type
 type which determines permissions. More...
 

Detailed Description

The User JavaScript class. Defines the data base user parameters.

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";
user.type = User.XSHEET;

Member Enumeration Documentation

◆ UserType

Enumerator
RD 
EXECUTIVE 
COORDINATOR 
APPLICATION 
TD 
ARCHIVE 
XSHEET 
SCAN 
INK_PAINT 
ANIMATOR 

Constructor & Destructor Documentation

◆ User()

User::User ( const String &  name)

Defines a user object.

Parameters
nameloginName

Member Function Documentation

◆ typeToString

String User::typeToString ( UserType  id)
slot

Convert to a readable string.

Property Documentation

◆ firstName

String User::firstName
readwrite

first name

◆ lastName

String User::lastName
readwrite

family name

◆ name

String User::name
readwrite

name

◆ type

UserType User::type
readwrite

type which determines permissions.