DevForce Help Reference
AuthorizeQuery Method (EntityMetadata)


The default authorization value if no authorization attributes are found for the entity
Called by the IdeaBlade.EntityModel.Server.EntityServerQueryInterceptor to authorize the query.
Syntax
'Declaration
 
Public Function AuthorizeQuery( _
   ByVal principal As IPrincipal, _
   ByVal defaultValue As Boolean _
) As Boolean
'Usage
 
Dim instance As EntityMetadata
Dim principal As IPrincipal
Dim defaultValue As Boolean
Dim value As Boolean
 
value = instance.AuthorizeQuery(principal, defaultValue)
public bool AuthorizeQuery( 
   IPrincipal principal,
   bool defaultValue
)

Parameters

principal
defaultValue
The default authorization value if no authorization attributes are found for the entity
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

EntityMetadata Class
EntityMetadata Members

Send Feedback