Example Code

How to Access the Username of the Current User

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview
To access the username of the current user

Description:
Using the two ways of property node of the App.Username or System Exec.vi, one could access the username of the current user of the application

Steps to implement or execute code
To implement this example:

  1. Run the VI

To execute this example:

  1. Install the required software.
  2. Open the VI and refer the Implement Steps


Requirements
Software
LabVIEW 2012 or compatible

Hardware
-

bd.PNGfp.PNG

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.