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
20/10/2004 03:20:30
 
 
À
20/10/2004 00:23:10
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:
00952904
Vues:
19
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,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform