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
—