Get USER Id

Posted by balcesme on 07-Jan-2015 17:19

Is there an easy way to get the Rollbase USER id (of object USER) after logging in. I need this when creating records (to attach the created records to the user).


TIA

All Replies

Posted by Anil Kumar on 08-Jan-2015 08:40

Hi balcesme,
 
Are you looking for the Customer ID (numerical value) or the loginName?
 
If you are looking for the login name of the user then that can be achieved by storing the specific username (entered in login page) in localstorage. i.e., bind the value of usernameValue (available in MyPhoneApp page) to local variable and the same variable can be used across the mobile app.
 
 
 
 
Hope this helps.
 
Thanks and Regards,
Anil Kumar.
 
[collapse]
From: balcesme [mailto:bounce-balcesme@community.progress.com]
Sent: Thursday, January 08, 2015 4:51 AM
To: TU.Mobile@community.progress.com
Subject: [Technical Users - Mobile] Get USER Id
 
Thread created by balcesme

Is there an easy way to get the Rollbase USER id (of object USER) after logging in. I need this when creating records (to attach the created records to the user).


TIA

Stop receiving emails on this subject.

Flag this post as spam/abuse.

[/collapse]

Posted by balcesme on 08-Jan-2015 12:14

Hi Anil, i want to get the ID, a numerical value

This thread is closed