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.
Adds the specified access rule to this security object.
Namespace: Microsoft.SharePoint.Administration.AccessControl
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Sub AddAccessRule ( _
rule As SPAclAccessRule(Of TAccessRightsEnum) _
)
'Usage
Dim instance As SPAclSecurity
Dim rule As SPAclAccessRule(Of TAccessRightsEnum)
instance.AddAccessRule(rule)
public virtual void AddAccessRule(
SPAclAccessRule<TAccessRightsEnum> rule
)
Parameters
Remarks
If an access rule with the same name already exists, the existing rule is modified to add the rights of the specified rule.
See also
Reference
SPAclSecurity<TAccessRightsEnum> class