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.
IAuthorizeReadWrite.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="IAuthorizeReadWrite.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Defines the authorization interface through which an</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Security
11{
17 public interface IAuthorizeReadWrite
18 {
25 bool CanWriteProperty(string propertyName);
39 bool CanReadProperty(string propertyName);
53 bool CanExecuteMethod(string methodName);
61 }
62}
Maintains metadata about a method or property.
Definition: IMemberInfo.cs:19
Maintains metadata about a property.
Defines the authorization interface through which an object can indicate which properties the current...
bool CanReadProperty(string propertyName)
Returns true if the user is allowed to read the specified property.
bool CanExecuteMethod(Csla.Core.IMemberInfo method)
Returns true if the user is allowed to execute the specified method.
bool CanReadProperty(Csla.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 CanWriteProperty(Csla.Core.IPropertyInfo property)
Returns true if the user is allowed to write the to the specified property.
bool CanWriteProperty(string propertyName)
Returns true if the user is allowed to write the to the specified property.