Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Permission on shared folders(win2k) by hardcode in VFP
Message
From
08/06/2003 04:38:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Set Permission on shared folders(win2k) by hardcode in VFP
Miscellaneous
Thread ID:
00797729
Message ID:
00797729
Views:
63
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
Next
Reply
Map
View

Click here to load this message in the networking platform