Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Permission on shared folders(win2k) by hardcode in VFP
Message
De
08/06/2003 04:38:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Set Permission on shared folders(win2k) by hardcode in VFP
Divers
Thread ID:
00797729
Message ID:
00797729
Vues:
62
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform