Export (0) Print
Expand All

SPPrincipalType Enumeration

Windows SharePoint Services 3
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).

Web Service: PeopleWeb Reference: http://<Site>/_vti_bin/People.asmx

[SerializableAttribute] 
[XmlTypeAttribute(Namespace="http://schemas.microsoft.com/sharepoint/soap/")] 
[FlagsAttribute] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
public enum SPPrincipalType

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

Windows SharePoint Services supports the assignment of permissions to security principals. There are two types of security principals: users and groups. The Windows SharePoint Services 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 Windows SharePoint Services group. They are not mutually exclusive and can be combined for manipulation by Windows SharePoint Services 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