473,396 Members | 2,052 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,396 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 1370
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.