Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 77
Registered: ‎10-12-2015
Accepted Solution

Mobile App Username and Userid

[ Edited ]

Hello,

 

Does anyone know how we can set UserId and UserName in the mobile application?

Are there global variables that we default to a field or is it something else?

 

Regards,

Radu

Staff
Posts: 1,032
Registered: ‎10-18-2015

Re: Mobile App Username and Userid

Hi Radu,

 

there is a variable System.UserId you can use. There is also a method from the API called getUserName().

Please check here for samples:

 

http://community.hexagongeospatial.com/t5/M-App-Enterprise-Tutorials/M-App-Enterprise-Mobile-Documen...

 

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.