Share via


SP.ChangeType enumeration

Enumeration of the possible types of changes.

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

var SP.ChangeType = {add : "Undefined",assignmentAdd : "Undefined",assignmentDelete : "Undefined",deleteObject : "Undefined",listContentTypeAdd : "Undefined",listContentTypeDelete : "Undefined",memberAdd : "Undefined",memberDelete : "Undefined",moveAway : "Undefined",moveInto : "Undefined",navigation : "Undefined",noChange : "Undefined",rename : "Undefined",restore : "Undefined",roleAdd : "Undefined",roleDelete : "Undefined",roleUpdate : "Undefined",scopeAdd : "Undefined",scopeDelete : "Undefined",systemUpdate : "Undefined",update : "Undefined",registerEnum : "Undefined"}

Members

The ChangeType object enumeration has the following members.

Member

Value

Description

add

1

Enumeration whose values specify that an object has been added within the scope of a list, site, site collection, or content database.

assignmentAdd

11

Enumeration whose values specify that a user has been given permissions to a list.

The list must have unique permissions enabled.

assignmentDelete

12

Enumeration whose values specify that a user has lost permissions to a list.

The list must have unique permissions enabled.

deleteObject

3

Enumeration whose values specify that an object has been deleted within the scope of a list, site, site collection, or content database.

listContentTypeAdd

Undefined

listContentTypeDelete

Undefined

memberAdd

13

Enumeration whose values specify that a user has been added to a group.

memberDelete

14

Enumeration whose values specify that a user has been removed from a group.

moveAway

5

Enumeration whose values specify that a non-leaf section within a URL has been renamed. The object was moved away from the location within the site specified by the change.

moveInto

6

Enumeration whose values specify that a non-leaf section within a URL has been renamed. The object was moved into the location within the site specified by the change.

navigation

16

Enumeration whose values specify that a change in the navigation structure of a site collection has been made.

noChange

0

Enumeration whose values indicate that no change has taken place.

rename

4

Enumeration whose values specify that the leaf in a URL has been renamed.

restore

7

Enumeration whose values specify that an object has restored from a backup or from the recycle bin.

roleAdd

8

Enumeration whose values specify that a role definition has been added.

roleDelete

9

Enumeration whose values specify that a role definition has been deleted.

roleUpdate

10

Enumeration whose values specify that a role definition has been updated.

scopeAdd

17

Enumeration whose values specify that a change in permissions scope has been made to break inheritance from an object's parent.

scopeDelete

18

Enumeration whose values specify that a change in permissions scope has been made to revert back to inheriting permissions from an object's parent.

systemUpdate

15

Enumeration whose values specify that a change has been made to an item using the SystemUpdate method.

update

2

Enumeration whose values specify that an object has been modified within the scope of a list, site, site collection, or content database.

registerEnum

Undefined