Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

sp_adduser

 
   Database Help (Home) -> Security RSS
Next:  check date  
Author Message
Munish Narula

External


Since: Mar 12, 2008
Posts: 10



(Msg. 1) Posted: Wed Dec 24, 2008 3:14 am
Post subject: sp_adduser
Archived from groups: microsoft>public>sqlserver>security (more info?)

hi,
I have created a new user and made it a member of 3 roles. db_owner,
db_securityadmin and db_accessadmin.

Now with this new user i am trying to create a new user using sp_adduser
procedure. But unfortunately i am getting one error

"User does not have permission to run DBCC auditevent"

Can you please help me resolve this.

 >> Stay informed about: sp_adduser 
Back to top
Login to vote
Erland Sommarskog2

External


Since: May 30, 2004
Posts: 2061



(Msg. 2) Posted: Wed Dec 24, 2008 8:35 am
Post subject: Re: sp_adduser [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Munish Narula (munish.narula@wipro.com) writes:
> I have created a new user and made it a member of 3 roles. db_owner,
> db_securityadmin and db_accessadmin.
>
> Now with this new user i am trying to create a new user using sp_adduser
> procedure. But unfortunately i am getting one error
>
> "User does not have permission to run DBCC auditevent"
>
> Can you please help me resolve this.

Weren't you using SQL 2005? In such case, why don' use CREATE USER
and assign the user the permission ALTER ANY USER?


--
Erland Sommarskog, SQL Server MVP, esquel RemoveThis @sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 >> Stay informed about: sp_adduser 
Back to top
Login to vote
Uri Dimant

External


Since: Aug 24, 2003
Posts: 1744



(Msg. 3) Posted: Wed Dec 24, 2008 9:25 am
Post subject: Re: sp_adduser [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

BOL says
Only the dbo and members of the sysadmin fixed server role can execute
sp_adduser.

If you add the user to securityadmin server fixed role , do you still get
the error?


"Munish Narula" wrote in message

> hi,
> I have created a new user and made it a member of 3 roles. db_owner,
> db_securityadmin and db_accessadmin.
>
> Now with this new user i am trying to create a new user using sp_adduser
> procedure. But unfortunately i am getting one error
>
> "User does not have permission to run DBCC auditevent"
>
> Can you please help me resolve this.
 >> Stay informed about: sp_adduser 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
lastmodified - Hi, Can someone provide me a simple trigger where it updates a lastmodified column. It should update the column lastmodified whenever an update occurs on all the other columns. Thnx

sql agent service - I have SQL Server 2000 and I want to setup up SQL Server Agent as an automatic service, although I am not seeing it as an available service....how can I add the SQL Server Agent as a service?

db access - I have connected to our group's sql 2000 server with NT authentication but was not expecting it to work. I was not expecting it to work because it's in a different domain that my nt account, although I have the same nt account name in both domains..

Sudden failure to connect to remote SQL Server from Enterp.. - A remote SQL Server has been in my local SQL Server Group for almost two years now and everything has worked fine, but starting this afternoon I have been unable to connect to it; the error message I get is "SQL Server does not exist or access de...

problem with space - HI friends, I've got one question. When I realize "log in" in my sql server, I am using SP like this: CREATE Procedure CustomerLogin ( @Email nvarchar(30), @Pwd nvarchar(10), @CustomerID int OUTPUT ) AS SELECT ...
   Database Help (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]