04-27-2012 01:56 PM
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
04-27-2012 02:32 PM
Are you running LabVIEW on a Server?
Do you have latest .net on the computer?
04-28-2012 05:14 AM
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.
04-30-2012 07:40 AM
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
04-30-2012 08:55 AM
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.