Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
rule
Type: Microsoft.SharePoint.Administration.AccessControl.SPAclAccessRule<TAccessRightsEnum>The access rule.
See also
Reference
SPAclSecurity<TAccessRightsEnum> class