CLIENTUSERSEXTENSION
                                        BBNC client users extension table  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | PROVIDERNAME | nvarchar(128) |  | Default = '' | Provider name | 
                                                
                                                    | IDENTIFIER | nvarchar(512) |  | Default = '' | Identifier returned by provider | 
                                                
                                                    | DISPLAYNAME | nvarchar(256) |  | Default = '' | Display name | 
                                                
                                                    | PREFERREDUSERNAME | nvarchar(256) |  | Default = '' | Preferred username | 
                                                
                                                    | GIVENNAME | nvarchar(128) |  | Default = '' | Given name | 
                                                
                                                    | FAMILYNAME | nvarchar(128) |  | Default = '' | Family name | 
                                                
                                                    | FORMATTEDNAME | nvarchar(256) |  | Default = '' | Formatted name | 
                                                
                                                    | 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 | 
                                            
                                            
                                                
                                                    | CLIENTUSERID | int |  | ClientUsers.ID | Client user ID | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_CLIENTUSERSEXTENSION_CLIENTUSERID | CLIENTUSERID |  |  |  | 
                                                
                                                    | IX_CLIENTUSERSEXTENSION_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_CLIENTUSERSEXTENSION_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | PK_CLIENTUSERSEXTENSION | ID | yes | yes |  | 
                                                
                                                    | UC_CLIENTUSERSEXTENSION_IDENTIFIER | IDENTIFIER | yes |  |  | 
                                            
                                        
                                        Triggers