IsInRole authorization rule. More...
Public Member Functions | |
| IsInRole (AuthorizationActions action, List< string > roles) | |
| Creates an instance of the rule. More... | |
| IsInRole (AuthorizationActions action, params string[] roles) | |
| Creates an instance of the rule. More... | |
| IsInRole (AuthorizationActions action, Csla.Core.IMemberInfo element, List< string > roles) | |
| Creates an instance of the rule. More... | |
| IsInRole (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... | |
IsInRole authorization rule.
Definition at line 18 of file Csla/Rules/AuthorizationRules.cs.
| Csla.Rules.CommonRules.IsInRole.IsInRole | ( | AuthorizationActions | action, |
| List< string > | roles | ||
| ) |
Creates an instance of the rule.
| action | Action this rule will enforce. |
| roles | List of allowed roles. |
Definition at line 27 of file Csla/Rules/AuthorizationRules.cs.
| Csla.Rules.CommonRules.IsInRole.IsInRole | ( | AuthorizationActions | action, |
| params string[] | roles | ||
| ) |
Creates an instance of the rule.
| action | Action this rule will enforce. |
| roles | List of allowed roles. |
Definition at line 38 of file Csla/Rules/AuthorizationRules.cs.
| Csla.Rules.CommonRules.IsInRole.IsInRole | ( | 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 allowed roles. |
Definition at line 50 of file Csla/Rules/AuthorizationRules.cs.
| Csla.Rules.CommonRules.IsInRole.IsInRole | ( | 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 allowed roles. |
Definition at line 62 of file Csla/Rules/AuthorizationRules.cs.
|
protectedvirtual |
Rule implementation.
| context | Rule context. |
Implements Csla.Rules.AuthorizationRule.
Definition at line 72 of file Csla/Rules/AuthorizationRules.cs.