EXCHANGESERVERAPPUSER

Contains a list of application users that are assigned to a specific Exchange server.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
EMAILADDRESS UDT_EMAILADDRESS Default = ''
IDENTIFIERTYPECODE tinyint Default = 0 0=Network SID, 1=SMTP address
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.
IDENTIFIERTYPE nvarchar(12) (Computed) yes CASE [IDENTIFIERTYPECODE] WHEN 0 THEN N'Network SID' WHEN 1 THEN N'SMTP address' END Provides a translation for the 'IDENTIFIERTYPECODE' field.

Foreign Keys

Foreign Key Field Type Null Notes Description
APPUSERID uniqueidentifier APPUSER.ID FK to APPUSER
EXCHANGESERVERID uniqueidentifier EXCHANGESERVER.ID FK to EXCHANGESERVER
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_EXCHANGESERVERAPPUSER_DATEADDED DATEADDED yes
IX_EXCHANGESERVERAPPUSER_DATECHANGED DATECHANGED
IX_EXCHANGESERVERAPPUSER_EXCHANGESERVERID EXCHANGESERVERID
PK_EXCHANGESERVERAPPUSER ID yes yes
UIX_EXCHANGESERVERAPPUSER_APPUSERID APPUSERID yes

Triggers

Trigger Name Description
TR_EXCHANGESERVERAPPUSER_UPDATED
TR_EXCHANGESERVERAPPUSER_AUDIT_UPDATE
TR_EXCHANGESERVERAPPUSER_AUDIT_DELETE