Symphony Framework
ValidateRequest Method
Symphony.Harmony.Security Namespace > ISymphonyAuthentication Interface : ValidateRequest Method
The unique ID of the connecting client.
The type of operation requested from the client.
The name of the method to execute or the full file name for data access.
For a ClientRequestType.SelectRequest, ClientRequestType.InsertRequest, ClientRequestType.UpdateRequest operation a list of fields requested. for other operations this argument will be Null.
For a ClientRequestType.InsertRequest, ClientRequestType.UpdateRequest, ClientRequestType.DeleteRequest, operations the actual data area being created.
Validate the requested operation from the client.
Syntax

Parameters

clientToken
The unique ID of the connecting client.
requestType
The type of operation requested from the client.
requestName
The name of the method to execute or the full file name for data access.
fieldList
For a ClientRequestType.SelectRequest, ClientRequestType.InsertRequest, ClientRequestType.UpdateRequest operation a list of fields requested. for other operations this argument will be Null.
dataArea
For a ClientRequestType.InsertRequest, ClientRequestType.UpdateRequest, ClientRequestType.DeleteRequest, operations the actual data area being created.

Return Value

The method should return a null/Empty string for success or the exception to be thrown on the client
Remarks
The implementing code must implement this method to validate individual requests from the client. The method can prevent exectuion of a given request based on the request name or the fields (for a select operation) being requested.
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

ISymphonyAuthentication Interface
ISymphonyAuthentication Members