Re: creating logins in stored procedure (yukon)
From: implacabile (implacabile_at_usa.net)
Date: 06/15/05
- Next message: Hari Prasad: "Re: Transactions not taking place"
- Previous message: Gabe Matteson: "Re: Transactions not taking place"
- In reply to: Mark J. McGinty: "Re: creating logins in stored procedure (yukon)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 15 Jun 2005 20:34:53 +0200
> exec sp_configure 'allow updates', '1'
>
yes, I've tried that, then I've copied the src of sp_addlogin,
and tried it with a normal user, but it doesn't work: in sql server
2005 the sp creates dinamically a varchar with 'create login .....' and
then it exec it, so it doesn't manipulate directly the tables, so the
users need additional permissions (because of the exec).
I think I'll have to make the users members of securityadmin
role, or some other.
- Next message: Hari Prasad: "Re: Transactions not taking place"
- Previous message: Gabe Matteson: "Re: Transactions not taking place"
- In reply to: Mark J. McGinty: "Re: creating logins in stored procedure (yukon)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|