Re: Associating a Windows account with a user
From: Juan Dent (JuanDent_at_discussions.microsoft.com)
Date: 07/06/04
- Next message: Juan Dent: "Re: Associating a Windows account with a user"
- Previous message: Joe: "Re: Login failed for user <everysqluser>"
- In reply to: Narayana Vyas Kondreddi: "Re: Associating a Windows account with a user"
- Next in thread: Juan Dent: "Re: Associating a Windows account with a user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 6 Jul 2004 13:24:01 -0700
Actually what I have is a database with three users but only one of them is associated with a Windows account.
Looking in SQLSErver Enterprise Manager, in the Users folder of the database, it looks something like this:
dbo DENTDEVELOPMENT\JuanDent
isadmin
isuser
See? What I want is to associate the login above with isadmin as well as dbo.
Is that possible?
-- Thanks in advance, Juan Dent, M.Sc. "Narayana Vyas Kondreddi" wrote: > Is this the case of an orphanned user, due to moving the db from one domain > to another or something? There is a procedure called sp_change_users_login, > but that will not work with Windows accounts. > > Can you simply grant access to that Windows login to SQL Server using > sp_grantlogin, and add associated user in the database using > sp_grantdbaccess? You'll have to apply the permissions manually though. > -- > Vyas, MVP (SQL Server) > http://vyaskn.tripod.com/ > > > "Juan Dent" <JuanDent@discussions.microsoft.com> wrote in message > news:5AF26949-D98D-4F0A-9F6E-2DF92469E88C@microsoft.com... > > Hi, > > > > I need to associate an existing Windows account with an existing SQL > Server 2000 user, but have not found the stored procedure for this. > > > > Can somebody guide me on this please? > > > > -- > > Thanks in advance, > > > > Juan Dent, M.Sc. > > >
- Next message: Juan Dent: "Re: Associating a Windows account with a user"
- Previous message: Joe: "Re: Login failed for user <everysqluser>"
- In reply to: Narayana Vyas Kondreddi: "Re: Associating a Windows account with a user"
- Next in thread: Juan Dent: "Re: Associating a Windows account with a user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
Loading