How to determine who is logged on to a database by using Microsoft Jet UserRoster in Access 2000

SUMMARY
By using Microsoft Visual Basic for Applications in Microsoft Access 2000, you can output a list of users who are logged into a database. The code example in this article show you how to do this.

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. The user list feature provides a way of determining who is currently connected to a Microsoft Jet database. The list can be obtained via the ADO programming interface and returns the following information for each user: • Name of the computer that the user is using.
 
• Security name, that is, the user ID.
 
• Whether or not the user is currently connected to the database. (A user's ID remains in the   lock database until the last user disconnects or until the slot is reclaimed for a new user   connection.)
 
• Whether or not the user connection was terminated normally.
 
• The user list capability can be used in conjunction with the connection control capability to   determine which users are still connected, so that they can be asked to disconnect.
The user list capability is also useful in isolating problems with database corruption that is associated with the activities of a specific user.

 ... ...

阅读全文请点击:How to determine who is logged on to a database by using Microsoft Jet UserRoster in Access 2000


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值