infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Technology Customer Community [READ ONLY]
Reading "ID" Portal session variable (profile attribute) with HTML or JS
unknown
We need to grab the "ID" session variable (profile attribute) from some non Lawson code to determine the users AD account since they are not logged onto Windows with this account. I can access it within code in Lawson but need to grab it in IIS for a thrid party SSO connection. Has anyone found a way to read the <> from code sitting on the IIS server? Thanks.
Find more posts tagged with
Infor Lawson Technology Group - Discussion
Comments
jacob-jellison
Are you talking about interrogating the XML document is returned by calling the /servlet/Profile
?
unknown
Yes, is there a function or way to query from within index.html or aspx code sitting on the IIS server?
jacob-jellison
The answer is Yes. Once a user has logged into lawson then you could execute server side script to make an XMLHTTPRequest then parse the XML document using DOM and grab the value of the attribute ID.
I don't have specific code to help but the following should get you started:
www.w3schools.com/.../dom_httprequest.asp
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Popular Tags
Infor Lawson Human Resources Group - Discussion
Infor Lawson Technology Group - Discussion
General Discussions
VISUAL - Enterprise General Discussions
Infor Lawson Supply Chain Management - Discussion
Process Automation (IPA) - General Discussions
Pegasus - Partner General Discussions
Infor Lawson Supply Chain Group - Discussion
Infor Lawson Financials Group - Discussion
Infor EPM Discussions