Defines the authorization interface through which an object can indicate which properties the current user can read and write.
More...
Defines the authorization interface through which an object can indicate which properties the current user can read and write.
◆ 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
-
- Exceptions
-
| ArgumentNullException | method 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
-
| methodName | Name of the method to execute. |
- Exceptions
-
| ArgumentNullException | methodName is null. |
Implemented in Csla.Core.BusinessBase.
◆ CanReadProperty() [1/2]
Returns true if the user is allowed to read the specified property.
- Returns
- true if read is allowed.
- Parameters
-
| property | Property to read. |
- Exceptions
-
| ArgumentNullException | property 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
-
| propertyName | Name of the property to read. |
- Exceptions
-
| ArgumentNullException | propertyName is null. |
Implemented in Csla.Core.BusinessBase.
◆ CanWriteProperty() [1/2]
Returns true if the user is allowed to write the to the specified property.
- Returns
- true if write is allowed.
- Parameters
-
| property | Property to write. |
- Exceptions
-
| ArgumentNullException | property 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
-
| propertyName | Name of the property to write. |
- Exceptions
-
| ArgumentNullException | propertyName is null. |
Implemented in Csla.Core.BusinessBase.
The documentation for this interface was generated from the following file: