共用方式為


SPSite.GetReusableAclForScope Method

Returns the reusable access control list (ACL) for the specified scope.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Function GetReusableAclForScope ( _
    scopeId As Guid _
) As SPReusableAcl
'Usage
Dim instance As SPSite
Dim scopeId As Guid
Dim returnValue As SPReusableAcl

returnValue = instance.GetReusableAclForScope(scopeId)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public SPReusableAcl GetReusableAclForScope(
    Guid scopeId
)

Parameters

  • scopeId
    Type: System.Guid

    A GUID that identifies the scope.

Return Value

Type: Microsoft.SharePoint.SPReusableAcl
An SPReusableAcl object that represents the ACL.

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace