Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if User has Rights to Folder &/or File
Message
From
20/10/2004 03:20:30
 
 
To
20/10/2004 00:23:10
Nitin Parulekar
New Zealand Software Corp Ltd
Hamilton, New Zealand
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00952884
Message ID:
00952904
Views:
18
To check for read/write right to a directory, I do something like this, in semi-code:
lcError=set('error')
on error *
strtofile('xxxx','\mypathtocheck\test.tst')
llAccess=adir(dummy,'\mypathtocheck\test.tst')>1
on error &lcError
>Hi!
>
>Is there a function to access re user's permission to a specific file &/or folder?
>
>Regards,
Previous
Reply
Map
View

Click here to load this message in the networking platform