This simple example will allow a user to check a users details via Lightweight Directory Access Protocol, or LDAP. To access a network's LDAP services, your computer must first log in to a server that supports the protocol, a process called authentication.
Many company use LDAP and from time to time as a developer you must create applications that support users. Managing Passwords and users is better left to the corporation and using LDAP and a simple internal database a application can query a users details in the Active directory.
LabVIEW 2015 or Greater.
Open VI Enter the Username, Password and Domain Select Run and Note the Access_OK Boolean.
See Authorize-and-authenticate-users-with-AD by Leonardo Pessoa for concepts and Code in C# adapted to LabVIEW via .net pallet.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
I am trying to use this code, but am not sure how to formulate the syntax. Can you give an example of how to specify the domain and user?