Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

SPPrincipal class

Represents a user or group that can be assigned permissions in Microsoft SharePoint Foundation to control security.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableTypeAttribute]
[ClientCallableTypeAttribute(Name = "Principal", ServerTypeId = "{8a76e712-17a1-4a40-b2df-cca7c060d78f}")]
public abstract class SPPrincipal : SPMember

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.