Is it possible to get the Portal user object type after logo

Posted by cagiva_raptor on 29-Sep-2016 02:25


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. 


All Replies

Posted by Vasantha on 07-Oct-2016 04:11

Hi Jurgen,

Could you please elaborate your use case?



Posted by cagiva_raptor on 07-Oct-2016 04:41

Hi Vasantha

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

Posted by cagiva_raptor on 18-Nov-2016 01:59

No one with a clue?

Posted by Srinivas Panyala on 18-Nov-2016 02:50

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.



Posted by cagiva_raptor on 18-Nov-2016 03:23

I will try this


Posted by Ruben Dröge on 18-Nov-2016 03:36

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

Posted by cagiva_raptor on 18-Nov-2016 04:18


This thread is closed