Get Auth Details for NI Web Server
- 更新日2025-07-30
- 5分で読める
Returns the authentication details associated with the current HTTP request. The authentication details indicate which user account is logged in to the NI Web Server.

入力/出力
LabVIEW Web Service Request
—
LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI. WebメソッドVI内でWebサービスVIを使用するときは、元のLabVIEW Webサービス要求制御器をWebメソッドVIのコネクタペーンに割り当てる必要があります。
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out
—
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
user ID
—
user ID returns the ID of the user currently logged in. If no user is logged in, this output returns an empty string.
username
—
username returns the username of the user currently logged in. If no user is logged in, this output returns an empty string.
privileges
—
privileges returns the privileges associated with the request, including privileges associated with a logged in user.
error out
—
error out contains error information. This output provides standard error out functionality. |
LabVIEW Web Service Request
—
error in (no error)
—
LabVIEW Web Service Request out
—
user ID
—
privileges
—
error out
—