Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding out the owner of a file?

Status
Not open for further replies.

chogben

Programmer
Apr 5, 2002
73
GB
How can I find out the owner of a file?

I'm writing an application that checks the age of a file and if it's over a limit it's moved elsewhere so it can be archived (or deleted, hee! hee!)

There's a cooling off period between the moving and the archiving, so people have a chance to grab their files back. So it would be nice to notify the people concerned.

 
I think you will need to employ a little API programming to do this. There is a very good API resourse at
I had a quick look and found some details on the GetFileSecurity API call which will give you the file owner. You can find the details including example VB code at


If you need more help, drop me a line via the list.
Best of Luck.
Andy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top