Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 users and logins

Author  Topic 

coolerbob
Aged Yak Warrior

841 Posts

Posted - 2005-06-03 : 08:53:09
I've read BOL but I dont really understand the difference between a user and a login.
Can someone explain it to me in plain english? can there be one user to many logins? or one login to many users?
If someone is a user, they need a login. Why have the two entities seperate?
Why do Logins sit at server level and Users sit with Roles at database level?

nr
SQLTeam MVY

12543 Posts

Posted - 2005-06-03 : 11:56:21
A user in in a database, a login is to a server.

The connection to the server is made via the login. The access to a database is made by mapping that login to a user in the database. The user has permission on objects in the database.
The login can map to different users in different databases.


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -