Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQLDMO - How to add user?

Status
Not open for further replies.

angiem

MIS
Sep 29, 2000
116
CA
I need to be able to add a user to a database and grant them permission to that database using SQLDMO.


 
Just for the heck of it...

why not use [maroon]sp_adduser[/maroon]

and if you have a good reason why the simple soulion isn't acceptable, post back and I will dig up the dmo code..

Rob
 
I was having to add an user using installshield and sqldmo seemed to be the best way, I have got it working now, thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top