CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Security.IAuthorizeReadWrite Interface Reference

Defines the authorization interface through which an object can indicate which properties the current user can read and write. More...

Inheritance diagram for Csla.Security.IAuthorizeReadWrite:
Csla.Core.BusinessBase Csla.BusinessBase< T >

Public Member Functions

bool CanWriteProperty (string propertyName)
 Returns true if the user is allowed to write the to the specified property.
bool CanWriteProperty (Core.IPropertyInfo property)
 Returns true if the user is allowed to write the to the specified property.
bool CanReadProperty (string propertyName)
 Returns true if the user is allowed to read the specified property.
bool CanReadProperty (Core.IPropertyInfo property)
 Returns true if the user is allowed to read the specified property.
bool CanExecuteMethod (string methodName)
 Returns true if the user is allowed to execute the specified method.
bool CanExecuteMethod (Core.IMemberInfo method)
 Returns true if the user is allowed to execute the specified method.

Detailed Description

Defines the authorization interface through which an object can indicate which properties the current user can read and write.

Member Function Documentation

◆ CanExecuteMethod() [1/2]

bool Csla.Security.IAuthorizeReadWrite.CanExecuteMethod ( Core.IMemberInfo method)

Returns true if the user is allowed to execute the specified method.

Returns
true if execute is allowed.
Parameters
methodMethod to execute.
Exceptions
ArgumentNullExceptionmethod is null.

◆ CanExecuteMethod() [2/2]

bool Csla.Security.IAuthorizeReadWrite.CanExecuteMethod ( string methodName)

Returns true if the user is allowed to execute the specified method.

Returns
true if execute is allowed.
Parameters
methodNameName of the method to execute.
Exceptions
ArgumentNullExceptionmethodName is null.

Implemented in Csla.Core.BusinessBase.

◆ CanReadProperty() [1/2]

bool Csla.Security.IAuthorizeReadWrite.CanReadProperty ( Core.IPropertyInfo property)

Returns true if the user is allowed to read the specified property.

Returns
true if read is allowed.
Parameters
propertyProperty to read.
Exceptions
ArgumentNullExceptionproperty is null.

◆ CanReadProperty() [2/2]

bool Csla.Security.IAuthorizeReadWrite.CanReadProperty ( string propertyName)

Returns true if the user is allowed to read the specified property.

Returns
true if read is allowed.
Parameters
propertyNameName of the property to read.
Exceptions
ArgumentNullExceptionpropertyName is null.

Implemented in Csla.Core.BusinessBase.

◆ CanWriteProperty() [1/2]

bool Csla.Security.IAuthorizeReadWrite.CanWriteProperty ( Core.IPropertyInfo property)

Returns true if the user is allowed to write the to the specified property.

Returns
true if write is allowed.
Parameters
propertyProperty to write.
Exceptions
ArgumentNullExceptionproperty is null.

◆ CanWriteProperty() [2/2]

bool Csla.Security.IAuthorizeReadWrite.CanWriteProperty ( string propertyName)

Returns true if the user is allowed to write the to the specified property.

Returns
true if write is allowed.
Parameters
propertyNameName of the property to write.
Exceptions
ArgumentNullExceptionpropertyName is null.

Implemented in Csla.Core.BusinessBase.


The documentation for this interface was generated from the following file: