SPPrincipal Class
Represents a user or group that can be assigned permissions in Microsoft SharePoint Foundation to control security.
System.Object
Microsoft.SharePoint.SPMember
Microsoft.SharePoint.SPPrincipal
Microsoft.SharePoint.SPGroup
Microsoft.SharePoint.SPUser
Microsoft.SharePoint.SPMember
Microsoft.SharePoint.SPPrincipal
Microsoft.SharePoint.SPGroup
Microsoft.SharePoint.SPUser
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
When a user or group is added to a site, the user or group is the principal. The SPPrincipal object can represent one of the following types of users or groups:
-
Windows user
-
Windows group
-
Non-Windows user (provided through ASP.NET membership provider)
-
Non-Windows group (provided through ASP.NET roles provider)
-
SharePoint groups
Claims Based Principals are missing
The list of potential principals appears to be missing those coming in in a Claims based scenario. The implication here is that users can only originate from Windows or .NET Authentication Providers. Possibly it has not been reworked from the 2007 docs.
- 6/2/2010
- Mike Wise - MSFT
- 6/29/2010
- Thomas Lee