LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows active directory

Hi, i want to write a windows application in LV which can have a single Sign-on concept. I want the users to be able to log into the application (exe located on the desktop) with-out any log-in prompts.

However, if the user wants to switch his/her role in between, the application must go to the login screen and prompt for a user name and password. This username and password must be in sync with the "windows active directory". can anyone help?

 

Regards

0 Kudos
Message 1 of 5
(3,913 Views)

Are you running LabVIEW on a Server?

Do you have latest .net on the computer?

 

George Zou
0 Kudos
Message 2 of 5
(3,904 Views)

I'm confused! You want a user to login into your application without login prompt or you want him to be able to startup the application without login? The first seems highly contradictory to me.

 

The requirments about using the login credentials of a Windows domain setup are most easily met by using .Net functionality. I have used in the past Windows API functionality for this which has some extra features that seem not available in .Net at all, but that is a very complicated and cumbersome interface that I can't recommend to use to anyone.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 3 of 5
(3,891 Views)

Hi, can you just tell me which windows API are you refering. If I can just get the API and its associated documentation, it will be very easy.

Thanks.

Sreedhar

0 Kudos
Message 4 of 5
(3,872 Views)

Everything dealing with Active Directory can be found in the System.DirectoryServices namespace. Examples on using this from LabVIEW have been posted before. Please do a search for "active directory" in this forum. Use the search box all the way on the right, towards the top.

0 Kudos
Message 5 of 5
(3,866 Views)