login_gigwa | R Documentation |
Connect to the GIGWA server. If username or password parameters are missing, then a login window will pop-up to insert username and password.
All other connection parameters (i.e. server IP or domain, connection port, API path, and connection protocol e.g. http://) will retrieve from the qbms_config list.
This function will update both of the qbms_config list (brapi connection object in the con key) and qbms_state list (token value in the token key).
login_gigwa(username = NULL, password = NULL)
username |
the GIGWA username (optional, default is NULL) |
password |
the GIGWA password (optional, default is NULL) |
no return value
Khaled Al-Shamaa, k.el-shamaa@cgiar.org
if(interactive()) {
# config your GIGWA connection
set_qbms_config("http://localhost:59395/gigwa/index.jsp", time_out = 300, engine = "gigwa")
# login using your GIGWA account (interactive mode)
# you can pass GIGWA username and password as parameters (batch mode)
login_gigwa()
login_gigwa("gigwadmin", "nimda")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.