SYSTEMROLEAPPUSER (4.0SP20)

Contains data describing what system role an application user has been assigned.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SYSTEMROLEID

uniqueidentifier

false

FK to SYSTEMROLE

APPUSERID

uniqueidentifier

false

FK to APPUSER

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

BRANCHSITEID

uniqueidentifier

true

FK to SITE

Fields
Field Field Type Null Notes Description

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

FROMROLESYNC

bit

false

0

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

SECURITYMODECODE

tinyint

false

0

0=All records, 1=Records with no site assigned, 2=Records with one of these sites assigned, 3=Records within a branch

CONSTITUENTSECURITYMODECODE

tinyint

false

0

0=All records, 1=Records with no security group assigned, 2=Records with one of these security groups

SECURITYMODE

nvarchar(40) (Computed)

true

Provides a translation for the 'SECURITYMODECODE' field.

CONSTITUENTSECURITYMODE

nvarchar(41) (Computed)

true

Provides a translation for the 'CONSTITUENTSECURITYMODECODE' field.

ACCOUNTINGELEMENTSECURITYMODECODE

tinyint

false

0

0=All records, 1=Allow use of records in selected groups, 2=Restrict use of records in selected groups

ACCOUNTINGELEMENTSECURITYMODE

nvarchar(42) (Computed)

true

Provides a translation for the 'ACCOUNTINGELEMENTSECURITYMODECODE' field.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_SYSTEMROLEAPPUSER_APPUSERID

APPUSERID

False

False

False

IX_SYSTEMROLEAPPUSER_BRANCHSITEID

BRANCHSITEID

False

False

False

IX_SYSTEMROLEAPPUSER_DATEADDED

DATEADDED

False

False

True

IX_SYSTEMROLEAPPUSER_DATECHANGED

DATECHANGED

False

False

False

PK_SYSTEMROLEAPPUSER

ID

True

True

False

UC_SYSTEMROLEAPPUSER_SYSTEMROLEID_APPUSERID

APPUSERID

SYSTEMROLEID

True

False

False

UIX_SYSTEMROLEAPPUSER_SYSTEMROLEID_APPUSERID

SYSTEMROLEID

APPUSERID

True

False

False

Triggers
Trigger Name Description

TR_SYSTEMROLEAPPUSER_UPDATED

TR_SYSTEMROLEAPPUSER_INSERTED

TR_SYSTEMROLEAPPUSER_AUDIT_UPDATE

TR_SYSTEMROLEAPPUSER_AUDIT_DELETE

TR_SYSTEMROLEAPPUSER_AUDIT_ETLDELETEDID

Referenced by
Referenced by Field

SITEPERMISSION

SYSTEMROLEAPPUSERID

SYSTEMROLEAPPUSERACCOUNTINGELEMENTSECURITY

SYSTEMROLEAPPUSERID

SYSTEMROLEAPPUSERCONSTITUENTSECURITY

SYSTEMROLEAPPUSERID

SYSTEMROLEAPPUSERSITE

SYSTEMROLEAPPUSERID