Is it possible to set or remove permissions(read, write,delete)ÃÂ ÃÂ of any Existing folder using c#. if yes then how we can do ???
thanking you in advance
View Complete Post
Hello,i have made a very simple file upload app, that i want
users to be able to upload images to a folder on my server, well
localhost for the time being here is the simple upload code...
The permissions of a Folder in my Sharepoint 2010 library have become corrupt
The permissions cannot be edited
When "manage permissions" is selected for the folder the following error occurs
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 761c6efa-d7f9-4d34-ac2b-e0bbb609f82c
Date and Time: 10/8/2010 12:20:14 AM
The folder cannot be deleted
When a attempt is made to delete the folder the following error occurs
Even when using the site administrator account
I seem to have found a problem with web services where folder level permissions are not respected when adding a list item. This problem does not occur when using SharePoint through the browser. My scenario is as follows.
I have a list with two folders. I want to give all users in Group 1 and Group 2 read access to all items in the list, but I want only users in Group 1 to have write access (Contribute) to Folder 1 and only users in Group 2 to have write access to Folder
2. I have granted permissions as follows:
List (Group 1 - Read, Group 2 - Read)
With this setup, when using web services, NONE of the users are able to write to either folder. Alternatively:
List (Group 1 - Contribute, Group 2 - Contribute)
With this setup, ALL of the users are able to add and item to either folder. Interestingly, the groups set to Read at the folder level cannot update the items that they created, so that part is working, but the Add permission is not respected.
Overall, the web servi
Using .NET 4.0, is there a good way to retrieve the NTFS permissions for a given file or folder? Specifically, I would like to know if the current Windows user has write / delete permissions for a given folder. I don't want to modify the
permissions, just want to look at them to know if its safe to continue running.
i created a website that uses windows authentication. i have a page that should display a list of folder that the logged in user has permission to read. how i can check if the user has a read permission on specific folder or not and how to display the groups that the user is belong to.
When a user clicks on the drop down menu for a folder in a document library nothing happens. At the bottom of their browser "Error on page" is displayed and the following error is logged:
Message: 'length' is null or not an object
After further investigation I found this problem throughout our Sharepoint 2007 WSS 3.0 instance but only on the sites that were rolled from Sharepoint 2003. Any of the sites created after we migrated do not present this problem. 80% of our site was created
previous to the migration so recreating each site is not an option. Creating a new folder, has the same issue. However, you can manage properties on documents in the same library and in the affected folder just fine. Our Sharepoint instance was migrated 2
years ago and this problem just cropped up.
Has anyone run into this problem, have a fix or have any ideas on troubleshooting it?
I have problem withÃÂ permissions of document folder.ÃÂ LawsÃÂ disappear from time to timeÃÂ and I donÃÂ´t know why it happen.
It is happening by folder, wich is divided to several subfolder. For example: folder1/folder2/folder3
folder1 is document library, where is set up, that users from group "reading" haveÃÂ permission for reading this folder.
folder2 inherit lawsÃÂ from folder1
folder3 - permissions for this folder are withdrawal from group "reading" and to this folder is added user withÃÂ permission for reading and contribution.
Problem is that from time to time folder1 losesÃÂ permissin for group "reading" and at the same time folder3 losesÃÂ permission for user, who can contribute in folder3.
Users for the folder3 we add, this is not inherit from folder2. I cannot find why disappear permissions for users, who we add.
We use Sharepoint Services 3.0Thank you for your help!
I want to give full control or write permissions to the folder in program files folder in windows 7 OS using c# code for any user.
Ex: C:/Program files/ABC/XYZ
I want to give full control permissions to XYZ folder for all users in that system when my application is accessed.
Pls help me Its an urgent requirement in my project.
Thanks in Advance
I need to deliver source code to client and my boss need to remove all the comments and #region sections from the whole web site source code.
So is there any functionality available in visual studio 2010 or may be in an other 3rd party tool available to do so, which can remove all the #region from all over the source code ?
Otherwise my developers has to do donkey work.... :(( and I don't wish it.
Any help or tips/tricks would be appreciated.