CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
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.IBusinessBase Csla.IReadOnlyBase Csla.ReadOnlyBase< T > Csla.BusinessBase< T > Csla.BusinessBase< T > Csla.ReadOnlyBase< T > Csla.Security.ICslaIdentity Csla.Test.DataPortal.MultipleDataAccessBase< T > Csla.Test.DataPortalTest.LegacySplitBase< T > Csla.Test.DataPortalTest.SplitBase< T > Csla.Test.DataPortalTest.SplitOverloadBase< T > Csla.Test.PropertyGetSet.EditableGetSetTopBase< T > Csla.Test.PropertyGetSet.EditableGetSetTopNFIBase< T > Csla.Test.Silverlight.PropertyGetSet.AbstractGetSet< T > Csla.Testing.Business.ApplicationContext.ContextBOVerifier< T > Csla.Test.DataPortal.MultipleDataAccessBase< T > Csla.Test.DataPortalTest.LegacySplitBase< T > Csla.Test.DataPortalTest.SplitBase< T > Csla.Test.DataPortalTest.SplitOverloadBase< T > Csla.Test.PropertyGetSet.EditableGetSetTopBase< T > Csla.Test.PropertyGetSet.EditableGetSetTopNFIBase< T > Csla.Test.Silverlight.PropertyGetSet.AbstractGetSet< T > Csla.Testing.Business.ApplicationContext.ContextBOVerifier< T >

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...
 

Detailed Description

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.

Member Function Documentation

◆ CanExecuteMethod() [1/2]

bool Csla.Security.IAuthorizeReadWrite.CanExecuteMethod ( Csla.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.

◆ 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.

Implemented in Csla.Core.BusinessBase, and Csla.ReadOnlyBase< T >.

◆ CanReadProperty() [1/2]

bool Csla.Security.IAuthorizeReadWrite.CanReadProperty ( Csla.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.

◆ 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.

Implemented in Csla.Core.BusinessBase, and Csla.ReadOnlyBase< T >.

◆ CanWriteProperty() [1/2]

bool Csla.Security.IAuthorizeReadWrite.CanWriteProperty ( Csla.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.

◆ 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.

Implemented in Csla.Core.BusinessBase.