|
-
Jan 17th, 2003, 03:42 AM
#1
Thread Starter
New Member
Create New Users SQL 2000
Help!
I'm trying to add new sql server users at run time from a vb app. I am trying to use sp_addlogin which works from query analyser but won't work from vb. The user I'm using is a member of sysadmin and security admin but it won't work. Any ideas or alternatives?
-
Jan 17th, 2003, 04:10 AM
#2
In the SQL Server help - Contents -> Building SQL Server Applications -> SQL-DMO -> Collections -> L -> Logins Collection.
-
Jan 17th, 2003, 04:57 AM
#3
Thread Starter
New Member
I don't know anything about SQL-DMO. I have been using ADO so far in the application. If possible I'd like to find a solution using ADO. If your solution can be done using ADO then maybe you could tell me a bit more. Thanks.
-
Jan 17th, 2003, 04:59 AM
#4
Nope, SQL-DMO is quite separate to ADO.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|