Compartilhar via


AccessControlledMetadataObject.GetAccessControlList Method

Gets the access control list for this metadata object.

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetAccessControlList As IAccessControlList
'Usage
Dim instance As AccessControlledMetadataObject
Dim returnValue As IAccessControlList

returnValue = instance.GetAccessControlList()
public IAccessControlList GetAccessControlList()

Return Value

Type: Microsoft.BusinessData.Infrastructure.IAccessControlList
The access control list for this metadata object.

Remarks

By default, an object gets its access control lists (ACLs) from its parent when it is created. This is not done by inheritance; it is a simple copy operation. However, if you change the parent object later, the changes will not automatically propagate. ACLs specified in models override this behavior. The ACLs on the parent are ignored; only the specified ACLs are applied to the object.

Examples

Code Snippet: Add an Access Control Entry to a MetadataObject Using the Administration Object Model

See Also

Reference

AccessControlledMetadataObject Class

AccessControlledMetadataObject Members

GetAccessControlList Overload

Microsoft.SharePoint.BusinessData.Administration Namespace