SP.SecurableObject.firstUniqueAncestorSecurableObject property (sp.js)
Gets the object where role assignments for this object are defined.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.SecurableObject.get_firstUniqueAncestorSecurableObject ()
Return value
SP.SecurableObject
The object where role assignments are defined.
Remarks
If role assignments are defined directly on the current object, the FirstUniqueAncestorSecurableObject property returns the current object. Otherwise, the property returns the object from which role assignments are inherited.