Questions tagged [spsecurity]

A SharePoint class which provides static security management properties and methods.

Filter by
Sorted by
Tagged with
1
vote
3answers
76 views

Boss needs SharePoint site only he can access (so not even administrator can)

I have a good one for ya today. Let me give you a quick backstory so you may understand these needs better. We had an employee who was a system administrator at my current company. Since he was a ...
2
votes
2answers
99 views

What's the equivalent permission string for member user in SP 2013?

I have created the custom web part. this web part only needs to show the user who was in member user group.currently, i have used SharePoint trimmed control to hide the web part using permission ...
0
votes
2answers
63 views

Sharepoint : getting a default view for groups

I have an issue and I don’t know if it’s about getting a default view for our users or about security. We have a sharepoint calendar at my organiztion. I might say its not really a calendar, it's a ...
1
vote
1answer
820 views

SharePoint 2013 Forms Based Authentication is slow– Why does SetPrincipalAndWriteSessionToken take 20 seconds or more?

We have a SharePoint 2013 implementation in which our web application is using Forms Based Authentication (FBA). There are 2 servers in the farm. A web front end server that resides in a DMZ and a ...
1
vote
2answers
146 views

spsecurity RunWithElevatedPrivileges

If you change the identity of the application pool, and the new account is not the System account, what account is used when calling SPSecurity.RunWithElevatedPrivileges?