| Connection | R Documentation |
Allows to establish, renew, check status and close the connection with MicroStrategy Intelligence Server.
base_urlURL of the MicroStrategy REST API server.
usernameYour username.
passwordYour password.
project_nameName of the connected MicroStrategy Project. One of project name or project id is necessary.
project_idID of the connected MicroStrategy Project. One of project name or project id is necessary.
login_modeSpecifies authentication mode to use. Standard = 1 (default) or LDAP = 16.
ssl_verifyIf True (default), verifies the server's SSL certificates with each request.
web_versionThe current web version
iserver_versionThe current I-Server version
auth_tokenThe authentication token returned by the I-Server
cookiesCookies
identity_tokenIdentity token for delegated session. Used for connection initialized by GUI.
verboseIf True (default), displays additional messages.
new()Establishes new connection with MicroStrategy Intelligence Server.
Connection$new( base_url, username = NULL, password = NULL, project_name = NULL, project_id = NULL, login_mode = 1, ssl_verify = TRUE, proxies = NULL, identity_token = NULL, verbose = TRUE )
base_urlURL of the MicroStrategy REST API server.
usernameYour username.
passwordYour password.
project_nameName of the connected MicroStrategy Project. One of project name or project id is necessary.
project_idID of the connected MicroStrategy Project. One of project name or project id is necessary.
login_modeSpecifies authentication mode to use. Standard = 1 (default) or LDAP = 16.
ssl_verifyIf True (default), verifies the server's SSL certificates with each request.
proxiesIf NULL (default) proxy is not defined. To set proxy use formula: (<username>:<password>@)<ip_address>:<port> ()-optional
identity_tokenIdentity token for delegated session. Used for connection initialized by GUI.
verboseIf True, displays additional messages. FALSE by default.
A new "Connection" object.
connect()Establishes new connection with MicroStrategy Intelligence Server, or renews active connection.
Connection$connect()
delegate()Delegates identity token to get authentication token and connect to MicroStrategy Intelligence Server
Connection$delegate()
get_identity_token()Gets identity token using existing authentication token
Connection$get_identity_token()
close()Closes a connection with MicroStrategy REST API.
Connection$close()
renew()Renews connection with MicroStrategy REST API.
Connection$renew()
status()Displays status of the connection with MicroStrategy REST API.
Connection$status()
clone()The objects of this class are cloneable with this method.
Connection$clone(deep = FALSE)
deepWhether to make a deep clone.
## Not run: # Create a connection object. connection = Connection$new(base_url, username, password, project_name) # Connect or renew connection. connection$connect() # Check connection status. connection$status() # Renew connection to reset timeout counter. connection$renew() # Close connection. connection$close() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.