getenv('Username') in WebApp Alternative
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I have an WebApp running on a server. My question is, whether I can find out the windows user name of the user of the WebApp. The user is of course not the user of the server.
The function getenv('Username') like in local apps is not possible.
Could you please help me finding an alternative solution for getting the user name of the user of the WebApp?
Kind regards
0 Commenti
Risposta accettata
Praveen Reddy
il 8 Mag 2023
Hi C.K,
I understand that you want to find the user information of user logged into Web App server. Starting from R2022a you can use “compiler.UserInfo()” to retrieve the details of user logged into Web App server.
Please refer to the following MATLAB documentation
Più risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Web App Server in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!