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
04/11/2004 16:53:11
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:
00958286
Views:
23
Hi there again,

The documentation in msdn says:

QUOTE
To read the owner, group, or DACL from the security descriptor for the specified file or directory, the DACL for the file or directory must grant READ_CONTROL access to the caller, or the caller must be the owner of the file or directory.
UNQUOTE

When we tested the program using a restricted user account, the function returned a zero. Now, when the getfilesecuity returns a zero does this automatically mean that the user has restrictions?

Regards,
Nitin
Previous
Reply
Map
View

Click here to load this message in the networking platform