cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

working with the user name

DiSiDtwin
5-Regular Member

working with the user name

Good afternoon!

I want to work with the username in my services. But, elementary, Vuforia does not display the user name in the text field. I use the Current Session Info thing and the getCurrentUser service and output the result to a text field, but it doesn't work.

Previously, there were already topics with such a question, but the approach that is mentioned there does not work.

What should I do? Are there any solutions?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi, @DiSiDtwin 

 

I tried the methed in display actual user name in statusbar , and it works.

Have you tried this?

 

My setting:

Button Event(click, pressed...) >>> CurrentSessionInfo\ Service\ GetCurrentUser

GetCurrentUser Service\ Current Selected Item\ result >>> Widget property 'text'

View solution in original post

4 REPLIES 4

Hi, @DiSiDtwin 

 

I tried the methed in display actual user name in statusbar , and it works.

Have you tried this?

 

My setting:

Button Event(click, pressed...) >>> CurrentSessionInfo\ Service\ GetCurrentUser

GetCurrentUser Service\ Current Selected Item\ result >>> Widget property 'text'

View solution in original post

DiSiDtwin
5-Regular Member
(To:dsgnrClarK)

Hi, @dsgnrClarK 

 

Yes, of course I tried it. This works if I launch my project in Vuforia Studio by clicking the Preview button.

 

But if I open this project already through the View app on my mobile phone, it doesn't work.

Hi, @DiSiDtwin 

 

If I set the Project Access to

  • Public>>> es-public-access
  • Requires Authentication>>> User Name

What is your Access setting?

What response do you have on your mobile phone?

 

DiSiDtwin
5-Regular Member
(To:dsgnrClarK)

Hi, @dsgnrClarK 

 

Thanks for the help. I solved my problem and it was related to CORS. After I set up the policies, everything worked.

Announcements

Topics available:
AR/VR for Data Optimization AR/VR for Security and Control AR/VR for Inspection