How to change shared folder perms programmatically in user-level mode

  • Thread starter Thread starter Scott Kellish
  • Start date Start date
S

Scott Kellish

I'm creating a folder and sharing it in an Installshield app run on an 2000
box which is member of a domain (user-level security). I need to change the
share permissions in code after sharing the folder to make it read only from
the network. AddShareNet (structure type 2) ignores the permissions
parameter when used in user-level security mode.


--
Thank you,
Scott

-----------------------------------------------
Scott Kellish
SoftSystem Solutions, LLC
18 Ridge Road
Clark, NJ 07066

Voice/Fax: 732.382.1873
Cell: 732.261.5856
ICQ: 161-756-325
E-Mail: (e-mail address removed)
Web: www.SoftSystemSolutions.com
-----------------------------------------------




....Their strength is to sit still. --Is. 30:7
 
you can change the sharing option only read only for the user
and share permission to the particular user and the permission must be user
label share
 
Back
Top