Solved

Determine users in database: PC ID and LDBVIEW

Posted on 2001-08-21
6
1,027 Views
Last Modified: 2012-08-13
Hello,

I occasionally have to boot all the users out of a database. I use the LDBView utility to see if anyone is in a file, then kick them all out.
The problem is that this file gives the PC name, not the user name. I use an MDW workgroup to identify the users in the DB.
How can I get a list of all the User Names as used in LDBView and their corresponding network logins or MDW logins?
Thanks,
Michael
0
Comment
Question by:mjoyce
6 Comments
 
LVL 14

Accepted Solution

by:
mgrattan earned 80 total points
ID: 6410719
The following link is for a free ActiveX component (with source code) that gives you the following information about a user's computer:

 LoginName
 WorkstationName
 IPAddress
 HostName
 MACAddress (Ethernet Card Address)

http://www.appliedolap.com/Products/NetInfo/default.htm

You can use this control and/or the source code to cross-check the WorkStationName against the Machine Name listed in the LDBViewer and, additionally, compare the LoginName to the CurrentUser function's results in Access.  

Does that help?
0
 
LVL 6

Expert Comment

by:devtha
ID: 6410768
what I do is use the following command on the DOS prompt
nbtstat -a machinenumber
then send message using
NET SEND machinenumber message

Based upon this I have a small access app that does this for me depending on the users selected (Alist maintained for all users of app. whose machine numbers I know.
0
 
LVL 6

Expert Comment

by:devtha
ID: 6410773
I also use ldbview.exe to get the machine numbers first
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 54

Expert Comment

by:nico5038
ID: 6990384
for mjoyce

It's time to clean up this TA, so I will leave a recommendation in Community Support that this question is:
 - Answered by: mgrattan  
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 

Author Comment

by:mjoyce
ID: 6993795
Haven't tried it, since installing new ActiveX components wasn't allowed with the network rights. ended up solving the problem by having all users log in with a workgroup file.
0
 
LVL 14

Expert Comment

by:mgrattan
ID: 6994205
Thanks for the follow-up.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
subtract 1 in Access 2003 query 7 39
Run Time Error 3075 15 45
Continuous form : Prefilled Data 7 18
Query design issue 2 22
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now