IdeaBlade DevForce 2010 Help Reference
DefaultAuthorization Property
See Also  Send Feedback
IdeaBlade.EntityModel.Server Assembly > IdeaBlade.EntityModel.Server Namespace > EntityServerSaveInterceptor Class : DefaultAuthorization Property



Override this property to change the default entity-level authorization.

Syntax

Visual Basic (Declaration) 
Protected Overridable ReadOnly Property DefaultAuthorization As Boolean
Visual Basic (Usage)Copy Code
Dim instance As EntityServerSaveInterceptor
Dim value As Boolean
 
value = instance.DefaultAuthorization
C# 
protected virtual bool DefaultAuthorization {get;}
C++/CLI 
protected:
virtual property bool DefaultAuthorization {
   bool get();
}

Remarks

The DefaultAuthorization determines whether authorization succeeds if no authorization attributes are found. By default this is "true", allowing all entities to be saved unless specific authorization attributes determine otherwise. You can change the default in your custom interceptor if you wish to by default disable authorization for all saves unless explicitly authorized.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.