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

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

Answers (0)

Categories

Find more on MATLAB Web App Server in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!