Table of Contents

About

Passing the nQuireID in the Go Url pull the authentication out and replace the need to pass credential (login/password) to authenticate (ie, like SSO or trusted sign on).

How to get Nqid

In the cookie, the available values are :

  • sawU=UserId
  • nQuireId=tvs4…….
<script language="javascript">

function readCookie(name) {

	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function GetNqid() {
        var nid = readCookie('nQuireID');
        alert('Nid : ' + nid);
}

GetNqid();

</script>

Result :
Obiee Nid