SPAclSecurity<TAccessRightsEnum>.RemoveAccessRuleAll method

Removes access rules that have the same name as the specified access rule from this security object.

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

Syntax

'Declaration
Public Overridable Sub RemoveAccessRuleAll ( _
    rule As SPAclAccessRule(Of TAccessRightsEnum) _
)
'Usage
Dim instance As SPAclSecurity
Dim rule As SPAclAccessRule(Of TAccessRightsEnum)

instance.RemoveAccessRuleAll(rule)
public virtual void RemoveAccessRuleAll(
    SPAclAccessRule<TAccessRightsEnum> rule
)

Parameters

See also

Reference

SPAclSecurity<TAccessRightsEnum> class

SPAclSecurity<TAccessRightsEnum> members

Microsoft.SharePoint.Administration.AccessControl namespace