How can different forms of authentication be defined when using the URL API in MicroStrategy Web 9.x?
For MicroStrategy Web 9.x, Administrators can enable different options for Logging in on the Administrator page as shown below:
Now, when using the URL API, to denote which type of Authentication to use, developers can use the connMode parameter. The following values are used for this parameter:
- Standard = 1
- LDAP Authentication = 16
- Database Authentication = 4
- Guest = 8
- Windows Authentication = 2
- Trusted Authentication = 64
- Integrated Authentication = 128
For example, a developer has a report which is to be linked to and will have the user log in with Windows Authentication. It would then look like the following:
http://WEB_SERVER/MicroStrategy/asp/Main.aspx?evt=4001&src=Main.aspx.4001&SERVER=SERVER_NAME
&PROJECT=PROJECT_NAME&reportviewMode=1&reportID=A164D5B74F816ED0EA7DAF809F34F7C4&
;connMode=2
&PROJECT=PROJECT_NAME&reportviewMode=1&reportID=A164D5B74F816ED0EA7DAF809F34F7C4&
;connMode=2
For more information on customization, refer to the MicroStrategy Developer Library which can be found on the MicroStrategy Knowledge Base.
Hope it helps everyone!
Have a Good Day!