Share via


SPObjectSecurity.GetAccessRules Method

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

Syntax

'Declaration
Public MustOverride Function GetAccessRules ( _
    ruleType As Type _
) As IEnumerable(Of SPAccessRule)
'Usage
Dim instance As SPObjectSecurity
Dim ruleType As Type
Dim returnValue As IEnumerable(Of SPAccessRule)

returnValue = instance.GetAccessRules(ruleType)
public abstract IEnumerable<SPAccessRule> GetAccessRules(
    Type ruleType
)

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<SPAccessRule>
Returns IEnumerable<T>.

See Also

Reference

SPObjectSecurity Class

SPObjectSecurity Members

Microsoft.SharePoint.Administration.AccessControl Namespace