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.

Hinweis Weitere Informationen zu diesem Thema finden Sie in der Einführung in Webdienste und in der Anleitung.


icon

Ein-/Ausgänge

  • cNI__WebServices_lvlib_Web_Requestlvclass.png 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.

    Bei Verwendung von Webdienst-VIs innerhalb eines Webmethoden-VIs müssen Sie das ursprüngliche LabVIEW-Webdienst-Anfrage-Element in das Anschlussfeld des Webmethoden-VIs aufnehmen.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iNI__WebServices_lvlib_Web_Requestlvclass.png 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.

  • istr.png 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.

  • istr.png username

    username returns the username of the user currently logged in. If no user is logged in, this output returns an empty string.

  • i1dstr.png privileges

    privileges returns the privileges associated with the request, including privileges associated with a logged in user.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.