Solved

Determine users in database: PC ID and LDBVIEW

Posted on 2001-08-21
6
1,070 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

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)

Question has a verified solution.

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

Suggested Solutions

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

739 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