PHP Function for get a session using TASK API with IIS

Hello there! I've created a PHP function to help you create a session using TASK API for PHP with IIS. Here is the code: <?php function authenticationMSTR($server, $project, $user, $pass, $documentId, $dashboardMode) { $projectUrl = str_replace(" ","%20",$project); $projectTask = str_replace(" ","+",$project); $username = 'username'; $password = 'password'; $context = stream_context_create(array( 'http' => array( 'header' => "Authorization: …

Using TASK API getSessionState with .net

Hello there! One of the coolest things that MicroStrategy can do is the ability to embed reports/dashboards using URL API in  a portal, for example. You just have to copy the link of a report/document and paste it in an HTML code to display them. By default, the user needs to fill the login form to see …