{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\
{table:id=|class=servoy sSummary}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[Boolean]{td}{td}[#addHeader]\(headerName, value)
Add a header to the request.{td}{tr}{tbody}{tbody}{tr}{td}[Response]{td}{td}[#executeRequest]\()
Execute the request method.{td}{tr}{tbody}{tbody}{tr}{td}[Response]{td}{td}[#executeRequest]\(userName, password)
Execute the request method.{td}{tr}{tbody}{table}\\
{table:id=function|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=addHeader|class=node}{tr:id=name}{td}h6.addHeader{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}addHeader{span}{span:id=iets|style=float: left;}\(headerName, value){span}{td}{tr}{tr:id=des}{td}{sub-section:addHeader_des|text=|trigger=button}{sub-section}{sub-section:addHeader_des|trigger=none|class=sIndent}Add a header to the request.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:addHeader_snc|text=|trigger=button}{sub-section}{sub-section:addHeader_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:addHeader_prs|text=|trigger=button}{sub-section}{sub-section:addHeader_prs|trigger=none|class=sIndent}\{[String]} headerName
\{[String]} value
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:addHeader_ret|text=|trigger=button}{sub-section}{sub-section:addHeader_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:addHeader_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:addHeader_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:addHeader_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:addHeader_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:addHeader_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:addHeader_sam|trigger=none}{code:language=javascript}
Div
style
display:none
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.
addHeader(headerName, value) Add a header to the request.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
executeAsyncRequest(username, password, workstation, domain, successCallbackMethod, errorCallbackMethod) Execute the request method asynchronous using windows authentication.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
executeAsyncRequest(username, password, successCallbackMethod, errorCallbackMethod) Execute the request method asynchronous.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
executeAsyncRequest(successCallbackMethod, errorCallbackMethod) Execute the request method asynchronous.
Execute the request method asynchronous using windows authentication. Success callback method will be called when response is received. Response is sent as parameter in callback. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.
Table Row (tr)
id
prs
Table Cell (td)
Parameters
Div
class
sIndent
{String} username - the user name {String} password - the password {String} workstation - The workstation the authentication request is originating from. {String} domain - The domain to authenticate within. {Function} successCallbackMethod - callbackMethod to be called after response is received {Function} errorCallbackMethod - callbackMethod to be called if request errors out
Execute the request method asynchronous. Success callback method will be called when response is received. Response is sent as parameter in callback. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.
Table Row (tr)
id
prs
Table Cell (td)
Parameters
Div
class
sIndent
{String} username - the user name {String} password - the password {Function} successCallbackMethod - callbackMethod to be called after response is received {Function} errorCallbackMethod - callbackMethod to be called if request errors out
Execute the request method asynchronous. Success callback method will be called when response is received. Response is sent as parameter in callback. If no response is received (request errors out), the errorCallbackMethod is called with exception message as parameter.
Table Row (tr)
id
prs
Table Cell (td)
Parameters
Div
class
sIndent
{Function} successCallbackMethod - callbackMethod to be called after response is received {Function} errorCallbackMethod - callbackMethod to be called if request errors out
{span}{td}{tr}{tr:id=des}{td}{sub-section:executeRequest-String_String_des|text=|trigger=button}{sub-section}{sub-section:executeRequest-String_String_des|trigger=none|class=sIndent}Execute the request method.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:executeRequest-String_String_snc|text=|trigger=button}{sub-section}{sub-section:executeRequest-String_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:executeRequest-String_String_prs|text=|trigger=button}{sub-section}{sub-section:executeRequest-String_String_prs|trigger=none|class=sIndent}\{[String]} userName -- the user name
\{[String]} password -- the password
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:executeRequest-String_String_ret|text=|trigger=button}{sub-section}{sub-section:executeRequest-String_String_ret|trigger=none|class=sIndent}[Response]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:executeRequest-String_String_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:executeRequest-String_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:executeRequest-String_String_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:executeRequest-String_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:executeRequest-String_String_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:executeRequest-String_String_sam|trigger=none}{code:language=javascript}
Table Row (tr)
id
des
Table Cell (td)
Div
class
sIndent
Execute the request method.
Table Row (tr)
id
prs
Table Cell (td)
Parameters
Div
class
sIndent
{String} userName - the user name {String} password - the password
Execute a request method using windows authentication.
Table Row (tr)
id
prs
Table Cell (td)
Parameters
Div
class
sIndent
{String} userName - the user name {String} password - the password {String} workstation - The workstation the authentication request is originating from. {String} domain - The domain to authenticate within.