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
- ruleType
Type: System.Type
Return Value
Type: System.Collections.Generic.IEnumerable<SPAccessRule>
Returns IEnumerable<T>.