NETCOMMUNITYCLIENTUSER

Contains information pertaining to NetCommunity user accounts.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
BBNCUSERID int Default = 0 NetCommunity client user ID.
SIGNUPTRANSACTIONDATE datetime yes Date user's signup transaction was committed.
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.
USERNAME nvarchar(50) Default = '' NetCommunity user name.
USERADDEDDATE datetime yes Date the user was added to NetCommunity.
LASTLOGINDATE datetime yes Date the user last logged in to NetCommunity.
ACTIVE bit Default = 1 Indicates that the NetCommunity user is active.
DELETED bit Default = 0 Indicates that the NetCommunity user is deleted.
USERUPDATEDATE datetime yes Date the user information was last updated.

Foreign Keys

Foreign Key Field Type Null Notes Description
CONSTITUENTID uniqueidentifier yes CONSTITUENT.LOCALID Individual linked to this NetCommunity user.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_NETCOMMUNITYCLIENTUSER_CONSTITUENTID CONSTITUENTID
IX_NETCOMMUNITYCLIENTUSER_DATEADDED DATEADDED yes
IX_NETCOMMUNITYCLIENTUSER_DATECHANGED DATECHANGED
PK_NETCOMMUNITYCLIENTUSER ID yes yes
UIX_NETCOMMUNITYCLIENTUSER_BBNCUSERID BBNCUSERID yes

Triggers

Trigger Name Description
TR_NETCOMMUNITYCLIENTUSER_AUDIT_UPDATE
TR_NETCOMMUNITYCLIENTUSER_AUDIT_DELETE

Referenced by

Referenced by Field
NETCOMMUNITYEMAILINFO NETCOMMUNITYCLIENTUSERID
NETCOMMUNITYNEWSLETTERSUBSCRIPTION NETCOMMUNITYCLIENTUSERID
NETCOMMUNITYTEAMFUNDRAISEREMAIL NETCOMMUNITYCLIENTUSERID
NETCOMMUNITYWEBTRAFFIC NETCOMMUNITYCLIENTUSERID