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.ICslaIdentity Interface Reference

Provides a base type to simplify creation of a .NET identity object for use with ICslaPrincipal. More...

Inheritance diagram for Csla.Security.ICslaIdentity:
Csla.IReadOnlyBase Csla.Security.ICheckRoles Csla.Serialization.Mobile.IMobileObject Csla.Rules.IHostRules Csla.Core.INotifyUnhandledAsyncException Csla.Core.INotifyBusy Csla.Security.IAuthorizeReadWrite Csla.Serialization.Mobile.ISerializationNotification Csla.Core.IBusinessObject Csla.Core.IReadOnlyObject

Properties

MobileList< string > Roles [get]
 Gets the list of roles for this user. More...
 
- Properties inherited from Csla.Core.IBusinessObject
int Identity [get]
 Gets a value representing this object instance's unique identity value within the business object graph. More...
 
- Properties inherited from Csla.Core.INotifyBusy
bool IsBusy [get]
 Gets a value indicating whether the object, or any of the object's child objects, are busy running an asynchronous operation. More...
 
bool IsSelfBusy [get]
 Gets a value indicating whether the object is busy running an asynchronous operation. More...
 

Additional Inherited Members

- Public Member Functions inherited from Csla.Core.IReadOnlyObject
bool CanReadProperty (string propertyName)
 Returns true if the user is allowed to read the calling property. More...
 
- Public Member Functions inherited from Csla.Serialization.Mobile.ISerializationNotification
void Deserialized ()
 Method called on an object after deserialization is complete. More...
 
- Public Member Functions inherited from Csla.Security.IAuthorizeReadWrite
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...
 
- Public Member Functions inherited from Csla.Rules.IHostRules
void RuleStart (Csla.Core.IPropertyInfo property)
 Indicates that a rule has started processing. More...
 
void RuleComplete (Csla.Core.IPropertyInfo property)
 Indicates that a rule has finished processing. More...
 
void RuleComplete (string property)
 Indicates that a rule has finished processing. More...
 
void AllRulesComplete ()
 Indicates that all rules have finished processing. More...
 
- Public Member Functions inherited from Csla.Serialization.Mobile.IMobileObject
void GetState (SerializationInfo info)
 Method called by MobileFormatter when an object should serialize its data. More...
 
void GetChildren (SerializationInfo info, MobileFormatter formatter)
 Method called by MobileFormatter when an object should serialize its child references. More...
 
void SetState (SerializationInfo info)
 Method called by MobileFormatter when an object should be deserialized. More...
 
void SetChildren (SerializationInfo info, MobileFormatter formatter)
 Method called by MobileFormatter when an object should deserialize its child references. More...
 
- Public Member Functions inherited from Csla.Security.ICheckRoles
bool IsInRole (string role)
 Returns a value indicating whether the current user is in the specified security role. More...
 
- Events inherited from Csla.Core.INotifyBusy
BusyChangedEventHandler BusyChanged
 Event raised when the object's busy status changes. More...
 
- Events inherited from Csla.Core.INotifyUnhandledAsyncException
EventHandler< ErrorEventArgsUnhandledAsyncException
 Event indicating that an exception occurred during an asynchronous operation. More...
 

Detailed Description

Provides a base type to simplify creation of a .NET identity object for use with ICslaPrincipal.

Definition at line 17 of file ICslaIdentity.cs.

Property Documentation

◆ Roles

MobileList<string> Csla.Security.ICslaIdentity.Roles
get

Gets the list of roles for this user.

Definition at line 23 of file ICslaIdentity.cs.