SYSTEMROLEPERM_SELECTION (4.0SP20)

System permissions for selections

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SYSTEMROLEID

uniqueidentifier

false

The system role ID for which the permission is set

SELECTIONID

uniqueidentifier

false

The selection for which the permission is set

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

GRANTORDENY

bit

false

0

1 if Granted, 0 if Denied

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_SYSTEMROLEPERM_SELECTION_DATEADDED

DATEADDED

False

False

True

IX_SYSTEMROLEPERM_SELECTION_DATECHANGED

DATECHANGED

False

False

False

IX_SYSTEMROLEPERM_SELECTION_SELECTIONID

SELECTIONID

False

False

False

PK_SYSTEMROLEPERM_SELECTION

ID

True

True

False

UIX_SYSTEMROLEPERM_SELECTION_SYSTEMROLEID_SELECTIONID

SYSTEMROLEID

SELECTIONID

True

False

False

Triggers
Trigger Name Description

TR_SYSTEMROLEPERM_SELECTION_AUDIT_UPDATE

TR_SYSTEMROLEPERM_SELECTION_AUDIT_DELETE