CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Rules.IAuthorizationContext Interface Reference

Implemented by objects which provide context information to an authorization rule when it is invoked. More...

Inheritance diagram for Csla.Rules.IAuthorizationContext:
Csla.Rules.AuthorizationContext

Properties

IAuthorizationRule Rule [get]
 Gets the rule object. More...
 
object Target [get]
 Gets a reference to the target business object. More...
 
Type TargetType [get]
 Gets the type of the target business class. More...
 
bool HasPermission [getset]
 Gets or sets a value indicating whether the current user has permission to perform the requested action. More...
 
object[] Criteria [get]
 Gets an object which is the criteria specified in the data portal call, if any. More...
 

Detailed Description

Implemented by objects which provide context information to an authorization rule when it is invoked.

Definition at line 16 of file IAuthorizationContext.cs.

Property Documentation

◆ Criteria

object [] Csla.Rules.IAuthorizationContext.Criteria
get

Gets an object which is the criteria specified in the data portal call, if any.

Definition at line 43 of file IAuthorizationContext.cs.

◆ HasPermission

bool Csla.Rules.IAuthorizationContext.HasPermission
getset

Gets or sets a value indicating whether the current user has permission to perform the requested action.

Definition at line 38 of file IAuthorizationContext.cs.

◆ Rule

IAuthorizationRule Csla.Rules.IAuthorizationContext.Rule
get

Gets the rule object.

Definition at line 21 of file IAuthorizationContext.cs.

◆ Target

object Csla.Rules.IAuthorizationContext.Target
get

Gets a reference to the target business object.

Definition at line 26 of file IAuthorizationContext.cs.

◆ TargetType

Type Csla.Rules.IAuthorizationContext.TargetType
get

Gets the type of the target business class.

Definition at line 31 of file IAuthorizationContext.cs.