Partilhar via


PrincipalType Enumeration

Specifies the type of a principal.

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

Namespace:  Microsoft.SharePoint.Client.Utilities
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration PrincipalType
'Usage
Dim instance As PrincipalType
[FlagsAttribute]
public enum PrincipalType

Members

Member name Description
None Enumeration whose value specifies no principal type. Value = 0.
User Enumeration whose value specifies a user as the principal type. Value = 1.
DistributionList Enumeration whose value specifies a distribution list as the principal type. Value = 2.
SecurityGroup Enumeration whose value specifies a security group as the principal type. Value = 4.
SharePointGroup Enumeration whose value specifies a group (2) as the principal type. Value = 8.
All Enumeration whose value specifies all principal types. Value = 15.

See Also

Reference

Microsoft.SharePoint.Client.Utilities Namespace