Document Library Folder permissions with Dot Net
Hi,
i'm creating folder in the document library through ASP.Net. but i'm not able to access permissions for those folders through ASP.Net. i need to add users to that folder and remove permissions for particular user. can anyone help me out in this.
SPWeb
Web =SPControl.GetContextWeb(Context);//This is the site where you want to add a folderstring str1 = Web.Url;SPSite Site =newSPSite(str1+"//Virtual//");Web = Site.OpenWeb();
Web.AllowUnsafeUpdates =
true;SPFolder rootFolder = Web.GetFolder("Virtual Hard Drive");//This is the root folder (document library folder).rootFolder.SubFolders.Add(txtProjname.Text);
this is the code i've used to create folders.

