1
vote
1answer
36 views

Add a SharePoint group to a role using JavaScript

I'm writing a script that adds user to a group (for example readers) on a site using a form and a PeoplePicker field. But I also want the script to be able to handle not only users, but also if it is ...
0
votes
1answer
86 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
315 views

How to get sub-sites of a sub-site?

I'm working on a user control that should show all site names, within a given site, for the current FBA user. My site is structured using SP Groups, FBA Roles and FBA users, i.e. 'Harry' is a ...
2
votes
2answers
1k views

Creating Group Programmatically with Reader Role

I am working with SharePoint 2010. I am creating groups in my site through code. There is no issue in that. At the time of creation I provide "Reader" role for my groups. But when I browse the listing ...
0
votes
1answer
958 views

Problem getting just created Groups programmatically

I'm encountering some problems getting "newly created" groups.. This is the code I'm using: Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite ...
1
vote
2answers
2k views

Add FBA role to SharePoint 2010 group

I've setup FBA for SharePoint 2010 following these instructions: http://blogs.msdn.com/b/kaevans/archive/2010/07/09/sql-server-provider-for-claims-based-authentication-in-sharepoint-2010.aspx It ...