Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 2nd, 2007, 03:32 PM
Authorized User
 
Join Date: Jan 2007
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating Users through Front End

Hoping for a bit of advice on how to create SQL 2000 users through an Access Front End. I'll tell you how far i've got.

I've created a VB Procedure that executes sp_addUser stored procedure,with assigned Parameters(e.g UserName,Password).

Now I can successfully add the User, assign it to the correct Group only when I logon as a User who has the System Admin Privilege. I obviously don't want to give this Privilege out, but then I would still like the capability to allow other users the right to create users to the Database, without relying on me.

Before the user gets to the Create Logon screen, I also want to query whether the CurrentUser has privileges, if not then stopping him getting to restricted screens.

Any advice would be much beneficial

Ta







Similar Threads
Thread Thread Starter Forum Replies Last Post
Ms Access front End with Oracle 10g Back End rahul123 Oracle 1 July 9th, 2007 01:03 AM
Oracle back-end MS-Access 2003 client front-end Corey Access 2 February 16th, 2007 08:31 AM
Oracle Back End - MS Access Front End - Multi User ckaliveas Oracle 1 February 1st, 2007 06:00 AM
creating Front - End anukagni Access 8 April 22nd, 2006 04:11 AM
Creating Front-End Login Interface Ben Horne Beginning VB 6 1 April 15th, 2004 05:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.