1
vote
0answers
288 views

Using PrincipalContext to create groups from SharePoint gives access denied for domain admin user

I'm trying to create new AD security groups from the codebehind of a SharePoint application page. I'm using System.DirectoryServices.AccountManagement to do this. This is how I'm creating a group: ...
0
votes
2answers
409 views

Securing Application Pages

I have a set of application pages stored in the _layouts virtual directory, that I'd like to secure, in order to prevent unauthorized access to the pages, as well as prevent certain actions from being ...