Table of Contents

Enum PrincipalType

Namespace
PnP.Core.Model.Security
Assembly
PnP.Core.dll

Specifies the type of a principal. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Flags]
public enum PrincipalType

Fields

All = User | DistributionList | SecurityGroup | SharePointGroup

Enumeration whose value specifies all principal types. Value = 15.

DistributionList = 2

Enumeration whose value specifies a distribution list as the principal type. Value = 2.

None = 0

Enumeration whose value specifies no principal type. Value = 0.

SecurityGroup = 4

Enumeration whose value specifies a security group as the principal type. Value = 4.

SharePointGroup = 8

Enumeration whose value specifies a group (2) as the principal type. Value = 8.

User = 1

Enumeration whose value specifies a user as the principal type. Value = 1.