AuthorizationRuleCollection.AddRule(AuthorizationRule) 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.
Adds an AuthorizationRule object to the collection.
public:
void AddRule(System::Security::AccessControl::AuthorizationRule ^ rule);
public void AddRule (System.Security.AccessControl.AuthorizationRule? rule);
public void AddRule (System.Security.AccessControl.AuthorizationRule rule);
member this.AddRule : System.Security.AccessControl.AuthorizationRule -> unit
Public Sub AddRule (rule As AuthorizationRule)
Parameters
- rule
- AuthorizationRule
The AuthorizationRule object to add to the collection.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.