Managing user login and logout with the URL API

To view TM1® Web objects with the URL API, you must log into the IBM® Cognos® TM1 server.

You can manage the user login process in the following different ways.

Session token login
The session token login tracks unique user sessions between multiple TM1 Web instances, TM1 Admin hosts, and TM1 servers.

The session token login is the recommended login approach. Use this login approach if your users log in to multiple instances of TM1 Web and/or separate TM1 servers at the same time.

For more information, see Cognos TM1 Web API session token login

Include user credentials in the URL
You can specify login information in the URL when accessing TM1 Web objects. The URL must include values for AdminHost, TM1Server, UserName, and/or Password.
CAUTION:
Specifying a password in the URL is not secure.
Pop-up login window
If all, or some, of the login information is not provided in any other way, then a pop-up window displays to prompt the user to login before the Cognos TM1 Web objects can be displayed.
Form-based login
You can use a standard HTML form with input fields to collect a user's login credentials and post the information to the Cognos TM1 Web server. For more information, see Cognos TM1 Web URL API form-based login.

If you are using IBM Cognos Business Intelligence Security authentication, a CamPassport parameter can be specified.