Example Code

How to get Advanced Windows Login Information

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 get advanced windows login information such full name country active account,
account expiration, home directory and login hours etc

Description:
Using the Windows and System Exec.vi, we could utilize to know a more advanced Windows Login information such as full name, country active account, account expiration, home directory etc.


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.