다음을 통해 공유


SPAclSecurity<TAccessRightsEnum>.GetAccessRules Method

Gets a collection of the access rules associated with the security object.

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

Syntax

'Declaration
Public Overridable Function GetAccessRules As IEnumerable(Of SPAclAccessRule(Of TAccessRightsEnum))
'Usage
Dim instance As SPAclSecurity
Dim returnValue As IEnumerable(Of SPAclAccessRule(Of TAccessRightsEnum))

returnValue = instance.GetAccessRules()
public virtual IEnumerable<SPAclAccessRule<TAccessRightsEnum>> GetAccessRules()

Return Value

Type: System.Collections.Generic.IEnumerable<SPAclAccessRule<TAccessRightsEnum>>
Returns an enumerator that can be used to iterate over each access rule.

See Also

Reference

SPAclSecurity<TAccessRightsEnum> Class

SPAclSecurity<TAccessRightsEnum> Members

GetAccessRules Overload

Microsoft.SharePoint.Administration.AccessControl Namespace