Defines the authorization interface through which an object can indicate which properties the current user can read and write. More...
Public Member Functions | |
bool | CanWriteProperty (string propertyName) |
Returns true if the user is allowed to write the to the specified property. More... | |
bool | CanWriteProperty (Csla.Core.IPropertyInfo property) |
Returns true if the user is allowed to write the to the specified property. More... | |
bool | CanReadProperty (string propertyName) |
Returns true if the user is allowed to read the specified property. More... | |
bool | CanReadProperty (Csla.Core.IPropertyInfo property) |
Returns true if the user is allowed to read the specified property. More... | |
bool | CanExecuteMethod (string methodName) |
Returns true if the user is allowed to execute the specified method. More... | |
bool | CanExecuteMethod (Csla.Core.IMemberInfo method) |
Returns true if the user is allowed to execute the specified method. More... | |
Defines the authorization interface through which an object can indicate which properties the current user can read and write.
Definition at line 17 of file IAuthorizeReadWrite.cs.
bool Csla.Security.IAuthorizeReadWrite.CanExecuteMethod | ( | Csla.Core.IMemberInfo | method | ) |
Returns true if the user is allowed to execute the specified method.
method | Method to execute. |
bool Csla.Security.IAuthorizeReadWrite.CanExecuteMethod | ( | string | methodName | ) |
Returns true if the user is allowed to execute the specified method.
methodName | Name of the method to execute. |
Implemented in Csla.Core.BusinessBase, and Csla.ReadOnlyBase< T >.
bool Csla.Security.IAuthorizeReadWrite.CanReadProperty | ( | Csla.Core.IPropertyInfo | property | ) |
Returns true if the user is allowed to read the specified property.
property | Property to read. |
bool Csla.Security.IAuthorizeReadWrite.CanReadProperty | ( | string | propertyName | ) |
Returns true if the user is allowed to read the specified property.
propertyName | Name of the property to read. |
Implemented in Csla.Core.BusinessBase, and Csla.ReadOnlyBase< T >.
bool Csla.Security.IAuthorizeReadWrite.CanWriteProperty | ( | Csla.Core.IPropertyInfo | property | ) |
Returns true if the user is allowed to write the to the specified property.
property | Property to write. |
bool Csla.Security.IAuthorizeReadWrite.CanWriteProperty | ( | string | propertyName | ) |
Returns true if the user is allowed to write the to the specified property.
propertyName | Name of the property to write. |
Implemented in Csla.Core.BusinessBase.