Hi All I am trying to single sign on implemetation and i am getting username from active directory. When i use activexobject its throwing a pop up like "an activex control on this page might be unsafe to interact with other parts of the page" Can you please let me know the alternate solution for it. I am using the below code unter html header to implement it.
<script language="Javascript">
function getLoginName(){
var strUsername;
var objNetwork;
objNetwork= new ActiveXObject("WScript.Network");
strUsername= objNetwork.Username;
strUsername= strUsername.toLowerCase();
return strUsername;
javascript:alert(document.cookie);
}
function doSSO(p_sso_set){
html_GetElement('P11_APP_USER').value = getLoginName();
doSubmit('SSO_SIGNON');
}
</script>
Thanks for the help