Context information provided to an authorization rule when it is invoked.
AuthorizationContext()
Initializes a new instance of the AuthorizationContext class.
Type TargetType
Gets the type of the target business class.
bool HasPermission
Gets or sets a value indicating whether the current user has permission to perform the requested acti...
object[] Criteria
Gets an object which is the criteria specified in the data portal call, if any.
AuthorizationContext(IAuthorizationRule rule, object target, Type targetType)
Creates a AuthorizationContext instance for unit testing.
object Target
Gets a reference to the target business object.
Implemented by objects which provide context information to an authorization rule when it is invoked.