SYSTEMROLETASK

The SYSTEMROLETASK table indicates which tasks have been assigned to which system roles.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
DISPLAYONHOMEPAGE bit Default = 0 Indicates whether or not the task will be displayed on the default home page for users in the indicated role.
DATEADDED datetime Default = getdate() Indicates the date this record was added
DATECHANGED datetime Default = getdate() Indicates the date this record was last changed
TS timestamp Timestamp
TSLONG bigint (Computed) yes convert(bigint, TS) Numeric representation of the timestamp

Foreign Keys

Foreign Key Field Type Null Notes Description
SYSTEMROLEID uniqueidentifier SYSTEMROLE.ID FK to SYSTEMROLE
TASKID uniqueidentifier TASKCATALOG.ID FK to TASKCATALOG
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT

Indexes

Index Name Fields Unique Primary Clustered
IX_SYSTEMROLETASK_DATEADDED DATEADDED yes
PK_SYSTEMROLETASK ID yes yes
UC_SYSTEMROLETASK_SYSTEMROLEID_TASKID TASKID, SYSTEMROLEID yes

Triggers

Trigger Name Description
TR_SYSTEMROLETASK_AUDIT_UPDATE
TR_SYSTEMROLETASK_AUDIT_DELETE
TR_SYSTEMROLETASK_GRANT_IMPLIED_FEATUREPERMS