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

How do I limit the number of users?

Status
Not open for further replies.

rkinrade

Programmer
Feb 1, 2003
19
US
Hi, I'd like to develop an interface that is licensed to only five users. I'd like help with ensuring that only these five users have access to the SQL7 database. Thanks in advance.
 
Your interface can check for the below statment everytime when the user logs in to the application.

select count(dbid) from sysprocesses where dbid in (select dbid from sysdatabases where name ='pubs')
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top