Export (0) Print
Expand All

SPPrincipalType enumeration

Specifies the scope and other information that is associated with a computer or user name that is maintained and authenticated by Active Directory Domain Services (AD DS).

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  WebSvcPeople
Assembly:  STSSOAP (in STSSOAP.dll)

[SerializableAttribute]
[FlagsAttribute]
public enum SPPrincipalType

Member nameDescription
NoneRepresents user accounts that have been disabled or cases when the user does not have access to objects on this SharePoint site.
UserRepresents an individual user who is associated with a well-known group. If an account is not disabled, this is the default.
DistributionListRepresents a distribution list.
SecurityGroupRepresents a security group.
SharePointGroupRepresents a group of SharePoint site users.
AllRepresents all users of a client computer.

SharePoint Foundation supports the assignment of permissions to security principals. There are two types of security principals: users and groups. The SharePoint Foundation object model defines the SPPrincipal class that provides the base functionality to assign permissions to a principal. It also defines two classes that derive from SPPrincipal - SPUser and SPGroup.

Principal types are managed for a SharePoint site by a membership provider, a role provider, or other source of user information. There are four scopes for a principal: user, distribution list, security group, and SharePoint Foundation group. They are not mutually exclusive and can be combined for manipulation by SharePoint Foundation applications. Security groups can allow or deny access to SharePoint sites or site objects such as files, lists, and controls. Users of SharePoint sites can be grouped into individual users, categories of users, or distribution lists. Access to SharePoint site objects can also be granted to all users of a client computer.

Community Additions

ADD
Show:
© 2014 Microsoft