Share 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
Assembly:  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