How to get session id and the user profile in same call

0 votes

I want to access the user profile object after authentication, but it returns null. I need to call the user service again to get the user profile object which doesnot returns the session id now.

//User object has session but no profile
User userobj = userService.authenticate(user,passwd);

//User object having profile but no session id
userService.getUser(userName);
 
Is there any way I can have th eprofile object and session in single service call.
 
Regards,
 

 

asked Jul 19, 2014 in App42 Cloud API-BaaS by ved (11 points)

1 Answer

0 votes
Hi Ved,

Currently you have to make two different calls to make it work. However this request looks valid and aligned with our feature roadmap. In our coming release you will have the option to fetch profile object while doing the authentication.

Let me know if it helps.

Thanks

Ajay
answered Jul 19, 2014 by ajay123 (899 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...