473,387 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Single Logon for .NET application.

Hi all,

I would like to develop a .NET application with single logon. It means once the user login the workstation which installed with Window NT or XP. The user doesn't need to enter the login ID and password for that .NET application again. The application will capture the login ID and password automatically.

Can anyone tell me how to do it in .NET Windows application and Web application respectively ?

Cheers,

Lone.

Jul 21 '05 #1
2 1369
Hi Lone,

It is a very good hidden subject in MSDE, I use always as search keyword
"IsInRole" for that
http://msdn.microsoft.com/library/de...nroletopic.asp

I hope this helps?

Cor
I would like to develop a .NET application with single logon. It means once the user login the workstation which installed with Window NT or XP.
The user doesn't need to enter the login ID and password for that .NET
application again. The application will capture the login ID and password
automatically.
Can anyone tell me how to do it in .NET Windows application and Web application respectively ?
Cheers,

Lone.

Jul 21 '05 #2
On Tue, 22 Jun 2004 20:50:01 -0700, "Lone" <Lo**@discussions.microsoft.com> wrote:

¤ Hi all,
¤
¤ I would like to develop a .NET application with single logon. It means once the user login the workstation which installed with Window NT or XP. The user doesn't need to enter the login ID and password for that .NET application again. The application will capture the login ID and password automatically.
¤
¤ Can anyone tell me how to do it in .NET Windows application and Web application respectively ?
¤

The .NET application can determine who the network authenticated user is but not his/her password
without prompting the user for this information:

System.Security.Principal.WindowsIdentity.GetCurre nt.Name.Split("\"c)(1)

For ASP.NET you can set up the web application for NT integrated authentication in IIS. This will
enable use of the network authenticated credentials the user entered when logging on. You will want
to enable impersonation for the web app:

http://msdn.microsoft.com/library/de...ersonation.asp
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tom | last post by:
I am trying to establish an infrastructure whereby I want only one login screen for my .net application users. In my experience, if the user's domain is different than the application domain,...
2
by: W Akthar | last post by:
Hi All, I have written a windows service which runs a small windows application. This windows application queries a sql server database and depending on these results, sets appointments in...
1
by: Cowboy \(Gregory A. Beamer\) | last post by:
Quite a few months back, I was able to create a single sign on app for all apps on a single box (perhaps a domain, but never tested) by setting the auth cookie name to an identical value: ...
3
by: rfontaine | last post by:
I have a virtual directory on IIS 5.0 to a remote share on a Windows 2003 file server. The "connect as" is a domain user account. The share as read permission for everyone and the NTFS permission...
2
by: J-T | last post by:
Hi All, We have an asp.net application on a windows 2003 server which is part of a domain controller which my worksatis is too. We have impersonated in our applciation with a fixed identity...
2
by: mykyp | last post by:
Hi, I am trying to use my vb.net app as a replacement to a normal browser to interface with a website. I am trying to achieve 2 things: 1) logon to the website 2) complete forms and submit data...
2
by: Lone | last post by:
Hi all, I would like to develop a .NET application with single logon. It means once the user login the workstation which installed with Window NT or XP. The user doesn't need to enter the login...
0
by: Marty Cruise | last post by:
I successfully deploy my application to 20 domain users. Only one new user is giving me a problem, although he can access all domain resources. When he clicks the installation link on the...
5
by: drummerpunk10 | last post by:
Sorry if this is off topic, I haven't really used this forum a lot so I don't know where to put it. Anyways I have a game application that runs off a list games and users on a file, that I built in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.