简体   繁体   中英

Create custom page to give permissions to a user for workspace using C# in Sharepoint 2010

We use Sharepoint 2010 as a intranet solution in our company.We have 1 web application and more than 5 site collections.Each site collection has different sites and each site has Workspace Site template.

I want to create a custom web page which contains each Workspace name as a column and Read/Write permission levels as a row in a datagrid. So the admin can easily give permissions to a user for each of the workspace. I mean the datagrid as follows;

               Workspace1     Workspace2     WOrkspace3

Read

Write

FullControl

I just want to learn that is my scenario possible?If it possible,where should I start from?

I don't think you will find a ready made solution for this. Access Checker Webpart for MOSS 2007 is a similar webpart which shows access details for a particular site collection (and subsites, lists etc). I would suggest downloading the code and modify it to suit your needs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM