super user name? Do you mean sa? If you do, then that is very bad.You should not use sa for developmentAnd in any case, if it's a web based app, the users should log into the app, be verified, and stored in sessionThen every sproc that is called must be passed in as a parmeterOtherwise, it will be the application connection id that will be shown as sysuserYou can look at host_machineI log all of my sproc calls to a tableCREATE TABLE [dbo].[SprocExecLog]( [SprocName] [sysname] NOT NULL, [TranStart] [datetime] NOT NULL, [TranEnd] [datetime] NOT NULL, [LogStart] [datetime] NOT NULL, [LogEnd] [datetime] NOT NULL, [ReturnCode] [int] NULL, [ErrorCode] [int] NULL, [ErrorMessage] [nvarchar](4000) NULL, [Rows] [int] NOT NULL, [App_User] [char](30) NOT NULL, [Sys_User] [char](30) NOT NULL, [User_Name] [char](30) NOT NULL, [Host_Name] [nchar](256) NOT NULL, [Parameters] [varchar](max) NULL) ON [PRIMARY]GOSET ANSI_PADDING OFFGOALTER TABLE [dbo].[SprocExecLog] ADD DEFAULT (host_name()) FOR [SprocName]GOALTER TABLE [dbo].[SprocExecLog] ADD DEFAULT (suser_sname()) FOR [Sys_User]GOALTER TABLE [dbo].[SprocExecLog] ADD DEFAULT (user_name()) FOR [User_Name]GOALTER TABLE [dbo].[SprocExecLog] ADD DEFAULT (host_name()) FOR [Host_Name]GO
Brett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx