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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stored procedure that sets up user accounts?? how to??

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I wonder how I could use a stored procedure or similar for setting up a user account on an MSDE server.

***********************************

The user should be able to access the database something like:

username: carl
password: carl1

the user should have Read and Write access to the three databases called house, fish and cars.

***********************************

The end-user must have have these permissions so he can use a certain software that has to access the 3 databases.

Any help is really appreciated!

regards, Carl Hupt (db developer)
 
The stored proc to be used is sp_adduser and in that U have to define the kind of role U would like to assign to the user for the database.

For syntax details refer to books online.

Hope it should work.

Thks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top