SP.View.moderationType Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets a value that specifies the content approval type for the list view.
var value = SP.View.get_moderationType();
Property Value
Type: String
Applies To
Remarks
It must be one of the following: null, "", "Moderator", "Contributor", or "HideUnapproved".