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 Development (2000)
 Create User in Visual Basic

Author  Topic 

ragh
Starting Member

34 Posts

Posted - 2003-06-12 : 02:16:16
Hi there!
Can anyone help me how i can create a new user and password in vb for sql server?
i guess sp_adduser...?

regards

Ragh

mohdowais
Sheikh of Yak Knowledge

1456 Posts

Posted - 2003-06-12 : 02:42:38
Well, you just answered the question yourself! But executing dynamic SQL from VB aside, you could use the SQL-DMO library. Look it up in the MSDN or SQL Server documentation. It contains a powerful set of objects to let you administer SQL Servers and Databases.

Owais

Go to Top of Page
   

- Advertisement -