I am trying to "capture" a user's userid when they log into Portal in LSF9. Is there a server variable or session variable that this value is stored?
Joe
You can use the getAttribute method of the oUserProfile to figure out the user's login id:
function FORM_OnInit() { alert( portalWnd.oUserProfile.getAttribute("id")) alert( portalWnd.oUserProfile.getAttribute("lawsonusername")) }
John, do you know what session variable (name) is used to store the user_id?
Thanks. Joe
Is it possible to get the above response in JSON notation instead of XML?
We are trying to develop a standalone web application that checks to see if the user has previously logged into Lawson. The above (XML example) gives us the information we need but, due to cross-domain restrictions on XML and JavaScript, we don't have the ability to do anything with the document. If we could get this response in JSON format, or if there is another solution available, we would be in great shape.
Thanks in advance for any responses!