Method | Description | |
---|---|---|
APIWrapper ( string inusername, HttpContext incontext ) : System |
constructor
|
|
DoValidate ( Security type, vwarDAL co ) : bool |
Overrides API base class validate, uses website user rather than HTTP Basic
|
|
GetUsername ( ) : string | ||
SetResponseHeaders ( string type, int length, string disposition ) : void |
Writes the headers for this transaction. Overrides base, using current context rather than WebOperationContext NOTE: For some reason this fails under the build in dev server, but runs correctly under IIS. Requires App pool to be in integrated mode
|
public APIWrapper ( string inusername, HttpContext incontext ) : System | ||
inusername | string | The username of the currently authenticated user |
incontext | HttpContext | The HTTP Context for this operation, used to write headers |
return | System |
public DoValidate ( Security type, vwarDAL co ) : bool | ||
type | Security | The transaction type to validate |
co | vwarDAL | the content object to validate the operation on |
return | bool |
public SetResponseHeaders ( string type, int length, string disposition ) : void | ||
type | string | Content Type |
length | int | Content Lenght |
disposition | string | Content Disposition |
return | void |