I am glad i found an app that gives me id of the user who logged in. That will help me some way.
But my main goal is as follows:
Display list of services whose owner is the person who logged in. the service list is output of a search query. And service to owner link is present in a lookup table. But it is not direct link. Service is linked to group names in look up table ( 1 service is assoicated to many grps) - this is stored in table. Now when user is logged in i want to get the user id, query ldap, get user's group list from ldap - do all this when his session has started- store it in session and then when he goes to dashboard - use the user's grp list from session and service-grp link lookup to filter data. Is this possible? Can i store something in session when user logs in?