login_gigwa {QBMS} | R Documentation |
Login to the GIGWA Server
Description
Connect to the GIGWA server. If the username or password parameters are missing, a login window will pop up to insert the username and password.
All other connection parameters (i.e., server IP or domain, connection port, API path, and connection protocol e.g., http://) will be retrieved from the 'qbms_config' list.
This function will update both the qbms_config list (brapi connection object in the con key) and qbms_state list (token value in the token key).
Usage
login_gigwa(username = NULL, password = NULL)
Arguments
username |
The GIGWA username (optional, default is NULL). |
password |
The GIGWA password (optional, default is NULL). |
Value
No return value.
Author(s)
Khaled Al-Shamaa, k.el-shamaa@cgiar.org
Examples
if (interactive()) {
# Configure your GIGWA connection
set_qbms_config("http://localhost:59395/gigwa/index.jsp", time_out = 300, engine = "gigwa")
# Login using your GIGWA account (interactive mode)
login_gigwa()
# You can pass GIGWA username and password as parameters (batch mode)
# login_gigwa("gigwadmin", "nimda")
}
[Package QBMS version 1.0.0 Index]