FileSystemWatcher - is this possible ?

  • Thread starter Thread starter Pete Kane
  • Start date Start date
P

Pete Kane

Hello All, I have written a Windows Service which consists of a
FileSystemWatcher monitoring some network folders, on creation of a new
file or deletion of an existing, a record is inserted into a SQL table (
all works very well ). What I would like to have , is , the userid of
the person who created (or deleted ) the file ( not the original creator
in the case of a deletion - but the person who deleted it). As this
service runs on a server I always get the userid of the server user
(Administrator) I don't know if this is possible but thought I'd ask.
 
Hello All, I have written a Windows Service which consists of a
FileSystemWatcher monitoring some network folders, on creation of a new
file or deletion of an existing, a record is inserted into a SQL table (
all works very well ). What I would like to have , is , the userid of
the person who created (or deleted ) the file ( not the original creator
in the case of a deletion - but the person who deleted it). As this
service runs on a server I always get the userid of the server user
(Administrator) I don't know if this is possible but thought I'd ask.

Hi,

I do not think it's possible but this question has been asked before,
take a look in the archives
 
Ignacio said:
Hi,

I do not think it's possible but this question has been asked before,
take a look in the archives
Ok thanks - someone has suggested WMI might help
 
Back
Top