Roles are a component of SharePoint that define a user's access permissions to the internal Web site.

learn more… | top users | synonyms

0
votes
2answers
129 views

Relation between an FBA Role and SharePoint Group

I have worked with FBA Membership using SQL. Once we add a Membership User, we can create an equivalent SPUser in SharePoint. But I am not sure how I can establish that kind of a relationship ...
0
votes
1answer
93 views

Get site owners, full control user from all sites and subsites in a sharepoint 2013 site collection

Can you please give me a script or commands to get the all the list of users are having site owner and full control access from sites/sub-sites in a site collection. I tried this but it is not giving ...
0
votes
1answer
118 views

Sharepoint Code to break inheritance and add new permissions at custom list level

I have a site collection with permissions set up as: EVERYONE READ I have a custom list. Here, I want to add permissions as EVERYONE CONTRIBUTE. I want to remove the Everyone Read Access Permssions ...
0
votes
1answer
597 views

Cannot modify User Roles in InfoPath

I am trying to modify the User Roles for my form but the button 'User Roles' button in the Data tab is greyed out and I cannot click it. Anyone has any idea what might be the reason? I tried googling ...
0
votes
1answer
175 views

How to hide Navigation Up icon for Read Only User

How do you check the roles in SharePoint 2010 so you can hide the Navigation Up icon? Users with Read Only access should not see this icon. Any suggestions would be greatly appreciated.
0
votes
1answer
317 views

Authorization against a user's membership in certain SharePoint groups via HttpModule

I'm trying to restrict access to certain pages of a SharePoint Web Application based upon a user's membership in certain SharePoint groups (restricting access to specific pages and functions, while ...
0
votes
1answer
84 views

Sharepoint Library View - Role Based

I have a library of reports. I also have Active Directory with users and groups. Groups are assigned access to the reports in the library. A group in this case is synonymous with a users role. I ...
3
votes
0answers
330 views

sharepoint workflow rest api add role assignment exception

I develop a workflow and i want to grant unique permission on item in list using sharepoint rest api ...
1
vote
0answers
32 views

Fine-tuning SP2013 Document Library permissions

I have the need to give access to a role for creating documents and folders in a document library and giving access to another role to create documents (but not folders) How would I go about doing ...
1
vote
0answers
131 views

SPRoleType.None Problem

I want to set the SPRoleType.None to a page for a user but I have a problem using roleDef = web.RoleDefinitions.GetByType(SPRoleType.None); I understand that for None and Guest this can't be done ...
1
vote
0answers
54 views

How do I Augment Active Directory and CRM roles in Visual Studio?

I have a custom solution that allows users to login via CRM and this works fine. Also, users who can can login with windows authentication and this works fine. I need to combine the roles such that ...
1
vote
0answers
2k views

How to get RoleAssignment programmatically from a SPFolder without .Item

I need to get the permissions associated to a Folder. I can get the folder by the getfolder method but the item has the .Item property null. When i Access to the .DocumentLibrary i get the ...
0
votes
0answers
16 views

How to get manager email id of selected user in people picker control?

I want to send mail to selected user in people picker control and CC to the his manager. Able to send the email to user. But how to get his manager email Id in C# Web part? Basically How to distribute ...
0
votes
0answers
44 views

The given key was not present in the dictionary while adding RoleAssignment To Group

My snippet should get a Group from a production SC and copy it to Test(same) SC. Until this point, everything works like a charm, group is created, Owner set and People copied to the with no ...
0
votes
0answers
41 views

Add level permisions to User in Sharepoint Online with Powershell

How as assigning roles to a given user at a given site in sharepoint online with PowerShell $ctx.Load($ctx.Web.RoleAssignments.Add($account,$roleAssignment)) $ctx.Web.Update() $ctx.ExecuteQuery() ...
0
votes
0answers
37 views

Assign permission to user after document creation

So, i've been trying to make for a while now a way to apply permission to the creator for a file when its added on a library. its something like this i've been doing so far public override void ...