Webアプリでクライ​アント側の実行ユーザ​名・PC名を取得する​方法

6 vues (au cours des 30 derniers jours)
Yuki Narahara
Yuki Narahara le 18 Oct 2018
Modifié(e) : Yuki Narahara le 18 Oct 2018
【利用環境】
  • MATLAB 2018b
  • MATLAB Compiler
  • Web App Server
  • AppDesigner
スタンドアロンアプリから、Webアプリへの移行を検討中です。
AppDesignerで画面を作成し、ボタンをクリックすると処理を実行する仕様です。
実行ログを残す処理として、
getenv('username')
getenv('computername')
を利用して、ログファイルに  実行ユーザ名  実行PC名 を出力しています。
しかし、Webアプリの場合はどのクライアントPCから実行しても、Webアプリサーバーのユーザ名とPC名になってしまいます。
Webアプリでクライアントのユーザ名、PC名を実行ログに残すためには、どのような方法があるでしょうか?

Réponses (0)

Catégories

En savoir plus sur MATLAB Web App Server dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!