M.App Enterprise Discussions

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
Frequent Contributor
Posts: 78
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,051
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