Share via


AccessControlledMetadataObject.GetAccessControlList method (String)

Gets the access control list for this metadata object by using a setting identifier.

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

Syntax

'Declaration
Public Overridable Function GetAccessControlList ( _
    settingId As String _
) As IAccessControlList
'Usage
Dim instance As AccessControlledMetadataObject
Dim settingId As String
Dim returnValue As IAccessControlList

returnValue = instance.GetAccessControlList(settingId)
public virtual IAccessControlList GetAccessControlList(
    string settingId
)

Parameters

  • settingId
    Type: System.String

    The identifier of the partition of the metadata store in which to place the read resources (properties, localized names and permissions); a null reference (Nothing in Visual Basic) value indicates the default settings.

Return value

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

Remarks

If the metadata object does not have a concrete access control list (ACL) stored on itself, the authorization for this object is controlled by the ACL on the closest parent object that has an ACL. If there is no ACL for the metadata object from the specified setting, the ACL from the default setting is returned.

See also

Reference

AccessControlledMetadataObject class

AccessControlledMetadataObject members

GetAccessControlList overload

Microsoft.SharePoint.BusinessData.Administration namespace