Re: List server logins - More info
From: Allen Cui (acui@apotex.com)
Date: 03/18/03
- Next message: Dan Guzman: "Re: SA password recovery"
- Previous message: Lior: "Re: Service Pack 3 applied - and problems!"
- In reply to: Terry Heckrote: "Re: List server logins - More info"
- Next in thread: Terry Heckrote: "Re: List server logins - More info"
- Reply: Terry Heckrote: "Re: List server logins - More info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Allen Cui" <acui@apotex.com> Date: Tue, 18 Mar 2003 10:39:18 -0500
select * from syslogins
"Terry Heckrote" <theckrote@state.pa.us> wrote in message
news:#3np6kV7CHA.2308@TK2MSFTNGP11.phx.gbl...
> I am looking for a list of the logins so that I could possibly script
> changes to each. For example, a new database is created that each login
> should have access. I would want to write a script that would execute the
> following for each login:
>
> exec anewdb..sp_grantdbaccess @Login
>
> "Terry Heckrote" <theckrote@state.pa.us> wrote in message
> news:ewm#RcV7CHA.972@TK2MSFTNGP12.phx.gbl...
> > How can I list all the logins on my server?
> >
> > Thanks,
> > Terry
> >
> >
>
>
- Next message: Dan Guzman: "Re: SA password recovery"
- Previous message: Lior: "Re: Service Pack 3 applied - and problems!"
- In reply to: Terry Heckrote: "Re: List server logins - More info"
- Next in thread: Terry Heckrote: "Re: List server logins - More info"
- Reply: Terry Heckrote: "Re: List server logins - More info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|