new Role()
- Source:
Methods
(static) Role#getEmployeesRef() → {Array.<base.Reference>}
Get the field value
employees with this role
- Source:
Returns:
An array of
- Type
- Array.<base.Reference>
(static) Role#getId() → {String}
Get the field value
Unique identifier
- Source:
Returns:
- Type
- String
(static) Role#getName() → {String}
Get the field value
Full name of the role
- Source:
Returns:
- Type
- String
(static) Role#getSystemRole() → {employees.AccountRole}
Get the field value
Base System Role
- Source:
Returns:
(static) Role#setEmployeesRef(employeesRef)
Set the field value
employees with this role
Parameters:
Name | Type | Description |
---|---|---|
employeesRef |
Array.<base.Reference> | An array of |
- Source:
(static) Role#setId(id)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) Role#setName(name)
Set the field value
Full name of the role
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
- Source:
(static) Role#setSystemRole(systemRole)
Set the field value
Base System Role
Parameters:
Name | Type | Description |
---|---|---|
systemRole |
employees.AccountRole |
- Source: