ActiveDirectorySecurity.RemoveAccessRule(ActiveDirectoryAccessRule) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all access rules that contain the same security identifier and access mask as the specified access rule from the DACL of an object.
public:
bool RemoveAccessRule(System::DirectoryServices::ActiveDirectoryAccessRule ^ rule);
public bool RemoveAccessRule (System.DirectoryServices.ActiveDirectoryAccessRule rule);
override this.RemoveAccessRule : System.DirectoryServices.ActiveDirectoryAccessRule -> bool
Public Function RemoveAccessRule (rule As ActiveDirectoryAccessRule) As Boolean
Parameters
The ActiveDirectoryAccessRule object to which this operation applies.
Returns
true
if the operation is successful; otherwise, false
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.