USERSETTINGS

The USERSETTINGS table stores application settings for each APPUSER

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
FAVORITES xml yes Contains the favorites defined by the APPUSER
USERHOMEPAGE xml yes Contains the home page defined by the APPUSER
DEFAULTHOMEPAGESETTINGS xml yes Contains settings used by the default system home page defined by the APPUSER.
SHELLSETTINGS xml yes Contains browser settings defined by the APPUSER
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
APPUSERID uniqueidentifier APPUSER.ID FK to APPUSER
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT

Indexes

Index Name Fields Unique Primary Clustered
IX_USERSETTINGS_DATEADDED DATEADDED yes
PK_USERSETTINGS ID yes yes
UC_USERSETTINGS_APPUSERID APPUSERID yes

Triggers

Trigger Name Description
TR_USERSETTINGS_AUDIT_UPDATE
TR_USERSETTINGS_AUDIT_DELETE