Re: Adding a database user
From: Hari Prasad (hari_prasad_k_at_hotmail.com)
Date: 05/29/04
- Next message: Shrikant Patil: "SQL Auth password length setting"
- Previous message: Andrew J. Kelly: "Re: Username, Password at the Web Data Admin"
- In reply to: Andrew J. Kelly: "Re: Adding a database user"
- Next in thread: Dan Guzman: "Re: Adding a database user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 29 May 2004 09:39:10 +0530
Hi,
Also have a look into the system procedures which allocate fixed roles to
users/logins in books online.
sp_addsrvrolemember and sp_addrolemember
Thanks
Hari
MCDBA
"Andrew J. Kelly" <sqlmvpnooospam@shadhawk.com> wrote in message
news:ORPqt3OREHA.3012@tk2msftngp13.phx.gbl...
> Steve,
>
> Do you mean a User or a Login or both? There is a difference and a User
is
> no good without an associated Login. You may want to check out sp_adduser
> and sp_addlogin in BooksOnLine.
>
> --
>
> Andrew J. Kelly
> SQL Server MVP
>
>
> "Steve Caliendo" <scaliendo@epion.com> wrote in message
> news:e4Rvg8NREHA.1308@TK2MSFTNGP10.phx.gbl...
> > Hi,
> >
> > Could someone please tell me how to add a database user using a query?
I
> > know how to set the appropriate permissions for tables of existing
users,
> > but I can't figure out how to add a new user.
> >
> > Thank you,
> >
> > Steve
> >
> >
>
>
- Next message: Shrikant Patil: "SQL Auth password length setting"
- Previous message: Andrew J. Kelly: "Re: Username, Password at the Web Data Admin"
- In reply to: Andrew J. Kelly: "Re: Adding a database user"
- Next in thread: Dan Guzman: "Re: Adding a database user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|