Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Current owner of files
Message
From
12/01/2005 09:10:46
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00976358
Message ID:
00976362
Views:
12
>Does anybody know how I can programmatically find out which network usewr is currently the owner of a particular file. In my application when a user logs into the system it creates an insystem.dbf file. The problem we have is that many users share the same application license. And because many users either use a client or use Terminal Services it is very difficult to determine who has access to the file. If I use computer manager on the server it only gives me the users who have connected using their clients.
>
>I have tested this on a number of user and it works fine (manually). Therefore I want to create a program which tells me the license, network user who is using. From here I can send messages or flush them etc.. In order for this to work I just need to find the current owner of the file programmatically??
>
>Any help would be greatly appreciated


Is this useful: Who opened what files on the network? (modified to use only VFP code) FAQ #7896
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform