Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » WMI   (RSS)

How to Give Authenticated Users or Everyone Access to Your Share Programmatically

Another follow-up from my previous article, Programmatically Configuring Permissions on a Share , David B asked a question, how to share a folder to Everyone, instead of to a specific users. This article will answer that question, based on the code on
Posted by HelloWorld | 0 Comments

Editing Share Permission

In my previous post, I have shown you how to set up permission on a share . The thing with Win32_Share, when you set the permission, you basically overwrites the existing permission. If you want to edit permission on the share (grant a new user access
Posted by HelloWorld | 1 Comments

Common AccessMask value when Configuring Share Permission Programmatically

In my previous post , I have shown you how to modify share permission using .Net framework. Access Mask is quite granular, most likely you will need to assign a particular user as 'Full Control', 'Change', or 'Read'. In Vista or Server 2008, it will be
Posted by HelloWorld | 0 Comments

Programmatically Configuring Permissions on a Share

I was asked this problem on how to set up permission for a share programmatically using .Net Framework. Well, I am not aware of any API that can do that. Searching does not return any good result. There are lot of resources on how to configure permission
Posted by HelloWorld | 27 Comments
 
Page view tracker