ActiveDirectorySecurity::ModifyAccessRule Method (AccessControlModification, AccessRule^, Boolean%)

 

Applies the specified modification to the specified AccessRule.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public:
virtual bool ModifyAccessRule(
	AccessControlModification modification,
	AccessRule^ rule,
	[OutAttribute] bool% modified
) override

Parameters

modification
Type: System.Security.AccessControl::AccessControlModification

The type of access control modification to perform.

rule
Type: System.Security.AccessControl::AccessRule^

The access rule to modify.

modified
Type: System::Boolean%

true if successfully modified; otherwise, false.

Return Value

Type: System::Boolean

true if successfully modified; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: