Nov 28, 2005 #1 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.
I need to be able to add a user to a database and grant them permission to that database using SQLDMO.
Nov 29, 2005 #2 NoCoolHandle Programmer Apr 10, 2003 2,321 US 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 Upvote 0 Downvote
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
Nov 30, 2005 Thread starter #3 angiem MIS Sep 29, 2000 116 CA I was having to add an user using installshield and sqldmo seemed to be the best way, I have got it working now, thanks. Upvote 0 Downvote
I was having to add an user using installshield and sqldmo seemed to be the best way, I have got it working now, thanks.