Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
We have a domain network setup, and I need to run an application with admin privelages, the credentials have to be checked over the domain. I remeber once had a snippet doing this perfect but cant find it again. Here's what I want.

accpet Username, Password and domain address
if the credentials were true, than app may run if not raise error.
Posted

Perhaps this[^] thread will help you?
 
Share this answer
 
Thankyou, the post you recommended led me to this that just worked on the local system, I've just to test it over a real domain.

http://www.codeproject.com/Articles/4051/Windows-Impersonation-using-C[^]
 
Share this answer
 
Comments
V. 15-May-14 8:59am    
no problem. Did you downvote me for it? Seems strange that the answer is simultaniously downvoted and accepted... ;-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900