SP.BasePermissions.clearAll Method (sp.js)
Clears all permissions for the current instance.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.BasePermissions.clearAll()
Return value
Undefined
Remarks
This method removes all permissions for the current instance.