<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Create a Shared Folder and Set permissions in C#	</title>
	<atom:link href="https://www.BeatificaBytes.be/create-a-shared-folder-and-set-permissions-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.BeatificaBytes.be/create-a-shared-folder-and-set-permissions-in-c/</link>
	<description>The Joys of Computing</description>
	<lastBuildDate>Wed, 23 Apr 2014 20:42:51 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8</generator>
	<item>
		<title>
		By: Valery Letroye		</title>
		<link>https://www.BeatificaBytes.be/create-a-shared-folder-and-set-permissions-in-c/#comment-145</link>

		<dc:creator><![CDATA[Valery Letroye]]></dc:creator>
		<pubDate>Wed, 23 Apr 2014 20:42:51 +0000</pubDate>
		<guid isPermaLink="false">/wordpress/?p=1057#comment-145</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.BeatificaBytes.be/create-a-shared-folder-and-set-permissions-in-c/#comment-144&quot;&gt;Dave&lt;/a&gt;.

I don&#039;t see what could be wrong in your call. But  I am right now on vacation and can&#039;t access my code to double check my own call. I will do next week.

Is your code running with an account granted adequate rights to create a shared folder ?
And did you succeed to create the shared folder with that account using Windows Explorer?

[EDIT] Et voilà, back from holidays :(... 
I have added in my post above a code sample based on what I am doing concretely.
There is a priori nothing wrong in your code.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.BeatificaBytes.be/create-a-shared-folder-and-set-permissions-in-c/#comment-144">Dave</a>.</p>
<p>I don&#8217;t see what could be wrong in your call. But  I am right now on vacation and can&#8217;t access my code to double check my own call. I will do next week.</p>
<p>Is your code running with an account granted adequate rights to create a shared folder ?<br />
And did you succeed to create the shared folder with that account using Windows Explorer?</p>
<p>[EDIT] Et voilà, back from holidays :(&#8230;<br />
I have added in my post above a code sample based on what I am doing concretely.<br />
There is a priori nothing wrong in your code.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave		</title>
		<link>https://www.BeatificaBytes.be/create-a-shared-folder-and-set-permissions-in-c/#comment-144</link>

		<dc:creator><![CDATA[Dave]]></dc:creator>
		<pubDate>Wed, 23 Apr 2014 19:24:57 +0000</pubDate>
		<guid isPermaLink="false">/wordpress/?p=1057#comment-144</guid>

					<description><![CDATA[Hi,
I&#039;m using a domain admin credential to create a folder share with read write access.  I tried to use what you posted above but it comes back with access denied.  
I may be doing something wrong - but I&#039;m calling your code as such:
ManagementHelper.AddSharedFolder(@&quot;p:\Archive05&quot;,&quot;Archive05&quot;,&quot;Archive&quot;,(ManagementHelper.GetSecurityDescriptor(&quot;Capitals&quot;,&quot;DGiles&quot;,ManagementHelper.FolderAccessMask.WRITE_OWNER)));
I would appreciate your feedback.  

Thanks,

David]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m using a domain admin credential to create a folder share with read write access.  I tried to use what you posted above but it comes back with access denied.<br />
I may be doing something wrong &#8211; but I&#8217;m calling your code as such:<br />
ManagementHelper.AddSharedFolder(@&#8221;p:\Archive05&#8243;,&#8221;Archive05&#8243;,&#8221;Archive&#8221;,(ManagementHelper.GetSecurityDescriptor(&#8220;Capitals&#8221;,&#8221;DGiles&#8221;,ManagementHelper.FolderAccessMask.WRITE_OWNER)));<br />
I would appreciate your feedback.  </p>
<p>Thanks,</p>
<p>David</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
