DevForce Help Reference
DefaultAuthorization Property (EntityServerQueryInterceptor)


Override this property to change the default entity-level authorization.
Syntax
'Declaration
 
Protected Overridable ReadOnly Property DefaultAuthorization As Boolean
'Usage
 
Dim instance As EntityServerQueryInterceptor
Dim value As Boolean
 
value = instance.DefaultAuthorization
protected virtual bool DefaultAuthorization {get;}
Remarks
The DefaultAuthorization determines whether authorization succeeds if no authorization attributes are found. By default this is "true", allowing all entities to be queried 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 queries unless explicitly authorized.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityServerQueryInterceptor Class
EntityServerQueryInterceptor Members

Send Feedback