This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes Getting the user name who has accessed a file available in Shared Location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Reply locked New topic
Author

Getting the user name who has accessed a file available in Shared Location

Senthil Kumar
Ranch Hand

Joined: Oct 14, 2007
Posts: 33
Hi All,
Can anyone tell me how to get the user name who has accessed a file which is available in a shared location in java?

Thanks in advance

Regards
Senthil Kumar.S
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Presumably this would be possibale via native methods. So JNI would be the way I think. I can't think of a Java API to do this.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Bill Shirley
Ranch Hand

Joined: Nov 08, 2007
Posts: 457
PLEASE don't post the same question twice:

This is an operating system question (can you tell that I've accessed a file?) not a java question.

faq.javaranch.com/java/UseOneThreadPerQuestion

faq.javaranch.com/java/CarefullyChooseOneForum
[ July 16, 2008: Message edited by: Bill Shirley ]

Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
Senthil Kumar
Ranch Hand

Joined: Oct 14, 2007
Posts: 33
Luckily i know that is related to OS.
My Real Question.
Can that be achieved in java?

Senthil Kumar.S
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting the user name who has accessed a file available in Shared Location
 
Similar Threads
How to access shared mailboxes using JavaMail
UrlyBird (database file location)
IS this Interface design OK
Logging User information who is accessing a file
Find out who has file open on network