IsNotInRole authorization rule. More...
Public Member Functions | |
IsNotInRole (AuthorizationActions action, List< string > roles) | |
Creates an instance of the rule. More... | |
IsNotInRole (AuthorizationActions action, params string[] roles) | |
Creates an instance of the rule. More... | |
IsNotInRole (AuthorizationActions action, Csla.Core.IMemberInfo element, List< string > roles) | |
Creates an instance of the rule. More... | |
IsNotInRole (AuthorizationActions action, Csla.Core.IMemberInfo element, params string[] roles) | |
Creates an instance of the rule. More... | |
Public Member Functions inherited from Csla.Rules.AuthorizationRule | |
AuthorizationRule (AuthorizationActions action) | |
Creates an instance of the rule. More... | |
AuthorizationRule (AuthorizationActions action, Csla.Core.IMemberInfo element) | |
Creates an instance of the rule. More... | |
Protected Member Functions | |
override void | Execute (IAuthorizationContext context) |
Rule implementation. More... | |
Protected Member Functions inherited from Csla.Rules.AuthorizationRule | |
object | ReadProperty (object obj, Csla.Core.IPropertyInfo propertyInfo) |
Reads a property's field value. More... | |
Additional Inherited Members | |
Properties inherited from Csla.Rules.AuthorizationRule | |
bool | CacheResult [getprotected set] |
Gets a value indicating whether the results of this rule can be cached at the business object level. More... | |
Csla.Core.IMemberInfo | Element [getset] |
Gets the name of the element (property/method) to which this rule is associated. More... | |
AuthorizationActions | Action [getset] |
Gets the authorization action this rule will enforce. More... | |
Properties inherited from Csla.Rules.IAuthorizationRule | |
Csla.Core.IMemberInfo | Element [get] |
Gets the element (property/method) to which this rule is associated. More... | |
AuthorizationActions | Action [get] |
Gets the authorization action this rule will enforce. More... | |
bool | CacheResult [get] |
Gets a value indicating whether the results of this rule can be cached at the business object level. More... | |
IsNotInRole authorization rule.
Definition at line 96 of file AuthorizationRules.cs.
Csla.Rules.CommonRules.IsNotInRole.IsNotInRole | ( | AuthorizationActions | action, |
List< string > | roles | ||
) |
Creates an instance of the rule.
action | Action this rule will enforce. |
roles | List of disallowed roles. |
Definition at line 105 of file AuthorizationRules.cs.
Csla.Rules.CommonRules.IsNotInRole.IsNotInRole | ( | AuthorizationActions | action, |
params string[] | roles | ||
) |
Creates an instance of the rule.
action | Action this rule will enforce. |
roles | List of disallowed roles. |
Definition at line 116 of file AuthorizationRules.cs.
Csla.Rules.CommonRules.IsNotInRole.IsNotInRole | ( | AuthorizationActions | action, |
Csla.Core.IMemberInfo | element, | ||
List< string > | roles | ||
) |
Creates an instance of the rule.
action | Action this rule will enforce. |
element | Member to be authorized. |
roles | List of disallowed roles. |
Definition at line 128 of file AuthorizationRules.cs.
Csla.Rules.CommonRules.IsNotInRole.IsNotInRole | ( | AuthorizationActions | action, |
Csla.Core.IMemberInfo | element, | ||
params string[] | roles | ||
) |
Creates an instance of the rule.
action | Action this rule will enforce. |
element | Member to be authorized. |
roles | List of disallowed roles. |
Definition at line 140 of file AuthorizationRules.cs.
|
protectedvirtual |
Rule implementation.
context | Rule context. |
Implements Csla.Rules.AuthorizationRule.
Definition at line 150 of file AuthorizationRules.cs.