Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if User has Rights to Folder &/or File
Message
De
04/11/2004 16:53:11
Nitin Parulekar
New Zealand Software Corp Ltd
Hamilton, Nouvelle Zélande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00952884
Message ID:
00958286
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform