共用方式為


SP.SecurableObject.resetRoleInheritance() Method

Applies to: SharePoint Foundation 2010

Resets the role inheritance for the securable object and inherits role assignments from the parent securable object.

SP.SecurableObject.resetRoleInheritance();

Applies To

SP.SecurableObject Class

Exceptions

  • [System.InvalidOperationException]
    There are uncommitted changes for the site. Error code: -1.

See Also

Reference

SP.SecurableObject Methods

SP.SecurableObject Properties

SP Namespace