Re: Script to retrieve database security
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Wed, 19 Sep 2007 08:43:10 -0400
Also, you can use the stored procedures:
sp_helplogins
sp_helprotect
Sp_helplogins will show all the databases in which a login is a user and
what roles it is a member of. As Erland mentioned, there are many ways to
assign permissions, so this will not get everything.
sp_helprotect will show rights specifically assigned within a database, but
will not get some of the new 2005 features.
RLF
"qjlee" <qjlee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:65F2970E-D890-47EC-A5F4-D936EAF00C56@xxxxxxxxxxxxxxxx
Hi,
I have two questions:
1). Is there anyway I can retrieve what sql login has access to what
database and have what kind of access to each database
2). If I want to transfer a sql account from one domain to another. what
would be the best practice?
Thanks,
.
- Prev by Date: Re: Question about ms sql server side tracing(sp_trace_create procedure)
- Next by Date: Windows authentication
- Previous by thread: Re: Script to retrieve database security
- Next by thread: The instance name specified is invalid
- Index(es):
Relevant Pages
|
|