共用方式為


IndividuallySecurableMetadataObject.SetAccessControlList Method (IAccessControlList)

Sets the access control list (ACL) for an individually securable metadata object.

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

Syntax

'Declaration
Public Overridable Sub SetAccessControlList ( _
    acl As IAccessControlList _
)
'Usage
Dim instance As IndividuallySecurableMetadataObject
Dim acl As IAccessControlList

instance.SetAccessControlList(acl)
public virtual void SetAccessControlList(
    IAccessControlList acl
)

Parameters

Examples

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

See Also

Reference

IndividuallySecurableMetadataObject Class

IndividuallySecurableMetadataObject Members

SetAccessControlList Overload

Microsoft.SharePoint.BusinessData.Administration Namespace