IndividuallySecurableMetadataObject.CopyAclAcrossChildrenForSetting Method
Copies the list of access control entries (ACEs) associated with the metadata object to all of its child metadata objects for the specified setting. Each individually securable metadata object inherits from this class and provides its own implementation of this method.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Sub CopyAclAcrossChildrenForSetting ( _
settingId As String _
)
'Usage
Dim instance As IndividuallySecurableMetadataObject
Dim settingId As String
instance.CopyAclAcrossChildrenForSetting(settingId)
public virtual void CopyAclAcrossChildrenForSetting(
string settingId
)
Parameters
settingId
Type: System.StringThe identifier of the location, or partition setting in which to read access control entries associated with metadata objects.
Exceptions
Exception | Condition |
---|---|
AccessDeniedException | SetPermissions right is not available on the object that is called. |
Remarks
There is no access check for the SetPermissions right on children to speed up propagation. It is assumed that if an object has the SetPermissions right, it can overwrite permissions for all child objects. For more information about SetPermissions, see BdcRights. This method copies the ACLs for only one setting.
See Also
Reference
IndividuallySecurableMetadataObject Class