ActiveDirectorySecurity.ResetAccessRule(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.
Searches an object's DACL for all access rules that contain a security identifier (SID) that matches the SID specified in the rule
object, and replaces all of those access rules with the access rules that are contained in the rule
object.
public:
void ResetAccessRule(System::DirectoryServices::ActiveDirectoryAccessRule ^ rule);
public void ResetAccessRule (System.DirectoryServices.ActiveDirectoryAccessRule rule);
override this.ResetAccessRule : System.DirectoryServices.ActiveDirectoryAccessRule -> unit
Public Sub ResetAccessRule (rule As ActiveDirectoryAccessRule)
Parameters
The ActiveDirectoryAccessRule object to which this operation applies.
Remarks
When ResetAccessRule is used to replace all access rules with a particular SID in an object's DACL, both Allow- and Deny- type rules are replaced. To replace only Allow rules without affecting Deny rules, or to replace Deny rules without affecting Allow rules, use SetAccessRule instead.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示