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)
 How to Create Users

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-05-06 : 09:42:12
Khalid Nagori writes "Hi,

How to create users and give them rights and permission through T-SQL?"

samsekar
Constraint Violating Yak Guru

437 Posts

Posted - 2004-05-06 : 11:30:01
Read BOL on Topic, sp_adduser, sp_addrolemember, GRANT..

- Sekar
Go to Top of Page

simondeutsch
Aged Yak Warrior

547 Posts

Posted - 2004-05-06 : 11:41:14
Only God can create users ... But you can add them to your database.

Sarah Berger MCSD
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-05-06 : 12:56:30
Also see sp_grantlogin (Windows Authentication), sp_addlogin (SQL authentication), and sp_grantdbaccess.

Tara
Go to Top of Page
   

- Advertisement -