Re: Allow a 'user' to create new users
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Thu, 10 Jan 2008 14:44:30 -0800
Carlos A. (CarlosA@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
The user must be 'dbo' of userdatabase, and member of securityadmin role
of the sql server, to execute sp_addlogin
sp_adduser
sp_grantlogin
and assign permissions overall obejcts of user database.
Of these only sp_addlogin/CREATE LOGIN requires securityadmin membership.
For the rest, it's sufficient to be dbo or member of the db_owner role.
Or in SQL 2005 parlance: have CONTROL permission on the database.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- References:
- Re: Allow a 'user' to create new users
- From: Erland Sommarskog
- Re: Allow a 'user' to create new users
- Prev by Date: Re: user defined Role - HELP
- Next by Date: Re: user defined Role - HELP
- Previous by thread: Re: Allow a 'user' to create new users
- Next by thread: Re: sql server 2005 account lockout
- Index(es):
Relevant Pages
|