Re: how to specify domain SLASH user in Query Analyzer when creating users and granting permissions
From: Russell Fields (RussellFields_at_NoMailPlease.Com)
Date: 01/30/04
- Next message: mike castillo: "RE: why can't I connect to server from a remote machie?"
- Previous message: Cindy Gross: "RE: Is using Enterprise Manage across the internet secure?"
- In reply to: Timo: "how to specify domain SLASH user in Query Analyzer when creating users and granting permissions"
- Next in thread: Kevin McDonnell [MSFT]: "RE: how to specify domain SLASH user in Query Analyzer when creating users and granting permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 30 Jan 2004 11:54:46 -0500
Timo,
Logins can have the slash, but users cannot. Once you have added the login,
just:
sp_grantdbaccess 'DOMAIN\USER' -- let the username default
Russell Fields
"Timo" <timo@nowhere.org> wrote in message
news:MPG.1a8429d271681a829896e0@msnews.microsoft.com...
> In Query Analyzer I am trying to execute SPs creating logons and
> granting permissions but the DOMAIN\USER format is illegal because
> of the SLASH character. How do youreference a specific
> domain\user in QA?
>
> I'm trying to set up logons and object permissions for SQLServer
> 2000 in a mixed Windows Authentication / SQL Server Authentication
> environment, using Windows Authentication. Specifically, I'm
> trying to grant the built-in SERVERNAME\ASPNET user access to
> certain databases and then grant it some object permissions. IIS
> and SQL2000 are running on the same machine.
>
> I'm working in Query Analyzer because the Enterprise Manager
> dialogs seem to get confused when we pick users from the list
> after having specified the domain: EM keeps displaying an error
> like "{myusername} already exists", but the error message does not
> give the domain\ chunk of the username. Is EM ignoring the domain
> prefix? Is this a known bug?
>
> Thanks for the help.
> Timo
>
- Next message: mike castillo: "RE: why can't I connect to server from a remote machie?"
- Previous message: Cindy Gross: "RE: Is using Enterprise Manage across the internet secure?"
- In reply to: Timo: "how to specify domain SLASH user in Query Analyzer when creating users and granting permissions"
- Next in thread: Kevin McDonnell [MSFT]: "RE: how to specify domain SLASH user in Query Analyzer when creating users and granting permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|