SP.Utilities.PrincipalType enumeration (sp.js)

Specifies the type of a principal.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var SP.Utilities.PrincipalType = {all : " "
                        ,distributionList : " "
                        ,none : " "
                        ,registerEnum : " "
                        ,securityGroup : " "
                        ,sharePointGroup : " "
                        ,user : " "
                        }

Members

Member

Value

Description

none

0

Enumeration whose value specifies no principal type.

user

1

Enumeration whose value specifies a user as the principal type.

distributionList

2

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

securityGroup

4

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

sharePointGroup

8

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

all

15

Enumeration whose value specifies all principal types.

all

distributionList

none

securityGroup

sharePointGroup

user

The PrincipalType object enumeration has the following members.