CREATE TABLE [dbo].[ATUser] (
    [UserName]    NVARCHAR (255)   NOT NULL,
    [DisplayName] NVARCHAR (255)   NULL,
    [UserStore]   INT              NULL,
    [Type]        INT              NULL,
    [Description] NVARCHAR (255)   NULL,
    [Status]      INT              NULL,
    [ObjectId]    UNIQUEIDENTIFIER NULL,
    [ADDomain]    NVARCHAR (255)   NULL,
    CONSTRAINT [PK_User] PRIMARY KEY NONCLUSTERED ([UserName] ASC),
    CONSTRAINT [UK_User] UNIQUE ([ObjectId] ASC)
);

