Tables [dbo].[ReportingUser]
Properties
PropertyValue
Row Count (~)0
Created9:20:44 AM Friday, December 7, 2018
Last Modified9:20:46 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_ReportingUser: ReportingUserIDReportingUserIDint4
No
1 - 1
Foreign Keys FK_ReportingUser_SysUser: [dbo].[Sysuser].SysUserFIDIndexes IX_ReportingUser_SysUserID: SysUserFIDSysUserFIDint4
No
hReportsUserIdint4
Yes
Check Constraints CK_ReportingUser_hReportsRoleId : ([hReportsRoleId]>(0))hReportsRoleIdint4
No
UseMoversSuiteCredentialsbit1
No
((1))
IsSuperUserbit1
No
((0))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_ReportingUser: ReportingUserIDPK_ReportingUserReportingUserID
Yes
IX_ReportingUser_SysUserIDSysUserFID
Yes
Check Constraints Check Constraints
NameOn ColumnConstraint
CK_ReportingUser_hReportsRoleIdhReportsRoleId([hReportsRoleId]>(0))
Foreign Keys Foreign Keys
NameColumns
FK_ReportingUser_SysUserSysUserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ReportingUser]
(
[ReportingUserID] [int] NOT NULL IDENTITY(1, 1),
[SysUserFID] [int] NOT NULL,
[hReportsUserId] [int] NULL,
[hReportsRoleId] [int] NOT NULL,
[UseMoversSuiteCredentials] [bit] NOT NULL CONSTRAINT [DF_ReportingUser_UseMoversSuiteCredentials] DEFAULT ((1)),
[IsSuperUser] [bit] NOT NULL CONSTRAINT [DF_ReportingUser_IsSuperUser] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ReportingUser] ADD CONSTRAINT [CK_ReportingUser_hReportsRoleId] CHECK (([hReportsRoleId]>(0)))
GO
ALTER TABLE [dbo].[ReportingUser] ADD CONSTRAINT [PK_ReportingUser] PRIMARY KEY CLUSTERED  ([ReportingUserID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ReportingUser] ADD CONSTRAINT [IX_ReportingUser_SysUserID] UNIQUE NONCLUSTERED  ([SysUserFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ReportingUser] ADD CONSTRAINT [FK_ReportingUser_SysUser] FOREIGN KEY ([SysUserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[ReportingUser] TO [MssExec]
GRANT INSERT ON  [dbo].[ReportingUser] TO [MssExec]
GRANT DELETE ON  [dbo].[ReportingUser] TO [MssExec]
GRANT UPDATE ON  [dbo].[ReportingUser] TO [MssExec]
GO
Uses
Used By