共用方式為


IndividuallySecurableMetadataObject.SetAccessControlList Method (IAccessControlList, String)

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

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

Syntax

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

instance.SetAccessControlList(acl, settingId)
public virtual void SetAccessControlList(
    IAccessControlList acl,
    string settingId
)

Parameters

  • settingId
    Type: System.String

    The identifier of the location setting in which to read resources.

See Also

Reference

IndividuallySecurableMetadataObject Class

IndividuallySecurableMetadataObject Members

SetAccessControlList Overload

Microsoft.SharePoint.BusinessData.Administration Namespace