468,250 Members | 1,600 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,250 developers. It's quick & easy.

Getting the user name of the person who has a file open

jnc
I have quite a weird problem whereby I need to obtain the username of the
person who has a file open and it need to work over the nework.

To explain a bit more.....I have a file system watcher which is watching a
file over the network. The file can be opened by multiple users from mutiple
computers within the same domain.

Currently the file system watcher object (sits on a server watching out on
the network) will tell me when the file is saved, opened etc, but what I then
need to do is fire a bit of code which will tell me which user is interacting
with it).

The file system watcher is running under a domain administrator account.

Constraints I face are that I cant put any software can run on the client
machines, only on the server.

Any suggestions would be gratefully accepted.

Cheers......Jim

Jul 21 '05 #1
1 1511
See freeware:http://www.sysinternals.com/ntw2k/freeware/handle.shtml
Excerpt:
Introduction
Ever wondered which program has a particular file or directoryopen? Now you can find out. Handle is a utility that displaysinformation about open handles for any process in the system.You can use it to see the programs that have a file open, or tosee the object types and names of all the handles of a program.

You can also get a GUI-based version of this program, ProcessExplorer, here at Sysinternals.
(KenK)
I have quite a weird problem whereby I need to obtain theusername of the
person who has a file open and it need to work over thenework.

To explain a bit more.....I have a file system watcher which iswatching a
file over the network. The file can be opened by multipleusers from mutiple
computers within the same domain.

Currently the file system watcher object (sits on a serverwatching out on
the network) will tell me when the file is saved, opened etc,but what I then
need to do is fire a bit of code which will tell me which useris interacting
with it).

The file system watcher is running under a domain administratoraccount.

Constraints I face are that I cant put any software can run onthe client
machines, only on the server.

Any suggestions would be gratefully accepted.

Cheers......Jim

User submitted from AEWNET (http://www.aewnet.com/)
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by darrel | last post: by
1 post views Thread by iwdu15 | last post: by
41 posts views Thread by Jim | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.