D Derek Jee Active Member Licensed User Longtime User Apr 28, 2015 #1 Hello Can anyone tell me how to get the user name of the currently logged on user? I found this link which gets me profiles of all users.. Is the first one always the active user and how do I query the cursor to get the data I want without polling through the list and only get the top one? https://www.b4x.com/android/forum/threads/owner-accounts-with-all-field.41101/#post-246786 Many thanks, Derek. Last edited: Apr 28, 2015
Hello Can anyone tell me how to get the user name of the currently logged on user? I found this link which gets me profiles of all users.. Is the first one always the active user and how do I query the cursor to get the data I want without polling through the list and only get the top one? https://www.b4x.com/android/forum/threads/owner-accounts-with-all-field.41101/#post-246786 Many thanks, Derek.
D Derek Jee Active Member Licensed User Longtime User Apr 28, 2015 #2 I have got the name I want in a variable but I just need confirmation that the first profile is the active user.. Upvote 0
I have got the name I want in a variable but I just need confirmation that the first profile is the active user..
Erel B4X founder Staff member Licensed User Longtime User Apr 28, 2015 #3 I'm not sure about this. I haven't found any documentation that confirms this assumption. Upvote 0
D Derek Jee Active Member Licensed User Longtime User Apr 28, 2015 #4 Thanks for replying Erel.. I am guessing there is no other way of getting the active user name.. Upvote 0