Constable Authorization Engine 2.0 BETA

ActionRuleCollection.AddNew Method

[This is preliminary documentation and subject to change.]

Creates and adds a new ActionRule object to the collection for the given actionId, roleId and the one state defined for the containing AuthorizationPolicy instance.

Overload List

Creates and adds a new ActionRule object to the collection for the given actionId, roleId and the one state defined for the containing AuthorizationPolicy instance.

public ActionRule AddNew(string,string);

Creates and adds a new ActionRule object to the collection for the given actionId, roleId stateId and targetStateId to the containing AuthorizationPolicy instance.

public virtual ActionRule AddNew(string,string,string,string);

Creates and adds a new ActionRule object to the collection for the given actionId, roleId stateId, targetStateId, isVisible and isEnabled flags to the containing AuthorizationPolicy instance.

public virtual ActionRule AddNew(string,string,string,string,bool,bool);

See Also

ActionRuleCollection Class | LaMarvin.Constable.Model Namespace