Viewing 15 posts - 46 through 60 (of 65 total)
I have a snag -
I have one stored procedure that is meant to return to the database admins a list of logins and whether they're active or not. That...
November 3, 2011 at 4:45 pm
IINM, given that the privilege to run a job is a server-level permission, you may want something similar to what I decided to do for handling self-service logins. See this...
November 1, 2011 at 3:49 pm
Evil Kraig F (10/31/2011)
Banana-823045 (10/31/2011)
Is there more to the story behind wanting to manage number of total logins/users?
Yeah, it's one ROYAL PITA. You're not just on the hook at...
October 31, 2011 at 2:59 pm
I wonder if I'm missing something when people say they don't like having 1000 logins.
While opc.three made good point about concurrent users (thanks!), I'm thinking it's not that big deal...
October 31, 2011 at 1:58 pm
Thanks for some pointers.
The current project I'm working on, it seemed that the application managing its own logins/users was the lesser of two evils, since there's several other routines that...
October 31, 2011 at 10:21 am
After running into permission errors again, I've edited my previous post - I actually had made an incorrect assumption about the db_securityadmin. I thought it had the ALTER ANY USER...
October 31, 2011 at 3:54 am
Jeff, I'm so glad you mentioned certificates. Apparently I didn't read too carefully or understood Erland's section and got fixated on TRUSTWORTHY which I still think is wrong solution. But...
October 30, 2011 at 7:02 pm
So far, I've not gotten any suggestions where I may have done it wrong and thus avoid the need to grant IMPERSONATE and manage this within a stored procedure, I'm...
October 30, 2011 at 10:41 am
Jeff, that would not be the first time I've overcomplicated my life.
Just to put aside all the mental junk, I decided to do this all from scratch. Here's the...
October 27, 2011 at 6:26 pm
Thanks, Jeff.
The database was originally owned by my Windows login which is a member of sysadmin. However, I went and changed the owner to sa. I then altered my sproc...
October 27, 2011 at 4:34 pm
Hopefully not too soon to bump the thread and see if anyone has any suggestions or maybe a better approach to achieve the goal of enabling a database user to...
October 27, 2011 at 3:12 pm
In this case, ability to create new logins -- using SQL Server auth ( 🙁 ), and we wanted to have a way to allow "admins" of the database to...
October 26, 2011 at 3:57 pm
Lynn Pettis (10/26/2011)
October 26, 2011 at 3:33 pm
Just a quick addendum to hopefully demonstrate the crux of problem.
This will fail in an error:
EXECUTE AS USER = 'dbo';
EXECUTE AS LOGIN = 'proxylogin';
REVERT;
REVERT;
Even though the user 'dbo' is actually...
October 26, 2011 at 2:33 pm
I really hope I'm wrong but this article seems to suggest that this does not work this way when we're talking about impersonating a server principal.
In this, it says you...
October 26, 2011 at 1:45 pm
Viewing 15 posts - 46 through 60 (of 65 total)