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
Legacy Contributor
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
Comments
jacob-jellison
Are you talking about interrogating the XML document is returned by calling the /servlet/Profile
?
Legacy Contributor
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
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
API Usage
FAQs, How-To, and Best Practices