Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Permission on shared folders(win2k) by hardcode in V
Message
 
 
À
08/06/2003 04:38:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00797729
Message ID:
00797776
Vues:
11
Take a look at NETRESOURCE structure class File #9502

>Hello everyone?
>How can i set permission to a shared folders on windows 2000 server by hardcode using VFP?
>
>for example below...I can add user as many as i can...But how can i assign permission to a shared folders to a selected user?
>remove the access to everyone then add the selected user to that shared folders...so that only that selected user can access the shared folders on the network...
>i want to do this by hardcode in VFP...and i don't have any idea how can i do this...
>anybody who know's how to do this? please help...
>
>&& example
>
>local lnUser,lcUser,lcPassword
>lcUser=sys(2015)
>lcPassword=sys(2015)
>for lnshare=1 to 5
>!net user &lcUser &lcPassword /add
>endf
>
>The Xjers
>J² System
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform