Solved

Using windows authentication in my Forms apps

Posted on 2008-10-06
3
363 Views
Last Modified: 2013-12-17
Hi all,

I was just wondering if it was possible to use a windows user's authentication credentials as login authentication for my windows forms. The idea being that multiple usernames/password would not need to be used. There is no need to store the password, simply the username.

Thanks in advance
0
Comment
Question by:billyleo
3 Comments
 
LVL 14

Accepted Solution

by:
Binuth earned 500 total points
ID: 22648965
0
 

Author Comment

by:billyleo
ID: 22649003
i was using  'Environment.UserName.ToString();' but this seems better - Is there any way to compare a password typed in to the hashed version of the windows login as this would be extremely helpful!.

Thanks
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now