I would like to reuse a HTML-report for 2 portal sites. Is there a way to get the object type of the loged in portal user?
Both users log in in a seperate portal and are of a different object type.
Could you please elaborate your use case?
I have 2 objects that have the ability to log on via a portal.
When that user logs on, I would like to check what object they are.
Agent VS Inspector
No one with a clue?
You can write an object script trigger with "On Login" timing option. This "On Login" is available for Portal user attribute enabled objects.
Not sure it works for you. Just a thought.
I will try this
I think Srivinas approach is correct, in addition:
- Object script trigger 'On login'
- In the object trigger use the API 'setSessionData'
- Register the information need in the session data (i.e. "key" is objecttype and "value" = Agent)
- Retrieve the sessionData at any time either via the server-side API or the client-side API