Re: OK - I'm stupid....How do you create a user?



The command completes successfully. I can see the user and the login. But
I can't login as the user. What else do I need to do?

What error message do you get?

--
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights
Download the latest version of Books Online from
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
"UJ" <fred@xxxxxxxxxxx> wrote in message
news:%23N7xadZCHHA.1012@xxxxxxxxxxxxxxxxxxxxxxx
OK. I'm doing something wrong. I execute the following statements:


use mktg
go
create login stoelle with password = 'sharon'
go
create user stoelle for login stoelle
go
grant select on referrals to stoelle
go
grant delete on referrals to stoelle
go
grant update on referrals to stoelle
go
grant insert on referrals to stoelle
go


The command completes successfully. I can see the user and the login. But
I can't login as the user. What else do I need to do?

TIA - Jeff.



"Gail Erickson [MS]" <gaile@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:OslCL5RCHHA.144@xxxxxxxxxxxxxxxxxxxxxxx
You might find the topics under this tutorial useful.
http://msdn2.microsoft.com/en-us/library/ms365345.aspx

--
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no
rights
Download the latest version of Books Online from
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
"UJ" <fred@xxxxxxxxxxx> wrote in message
news:OsHzQQPCHHA.3380@xxxxxxxxxxxxxxxxxxxxxxx
OK - I'm stupid. How do you create a user? I've gone through the steps
of creating the user for the server, then create the user for the db but
the user cannot login.

Can somebody point me towards a web page/article that will tell me how
to do this?

TIA - Jeff.








.



Relevant Pages

  • Re: OK - Im stupid....How do you create a user?
    ... Login failed for user stoelle ... I can't login as the user. ... grant select on referrals to stoelle ...
    (microsoft.public.sqlserver.security)
  • Re: OK - Im stupid....How do you create a user?
    ... create user stoelle for login stoelle ... grant select on referrals to stoelle ...
    (microsoft.public.sqlserver.security)
  • geneincense.com
    ... Looking forward for your precious review and referrals. ... login and boost it with your insight. ...
    (sci.bio.microbiology)
  • GeneIncense.com
    ... Looking forward for your precious review and referrals. ... login and boost it with your insight. ...
    (sci.bio.technology)