Click here to Skip to main content
15,900,724 members
Home / Discussions / C#
   

C#

 
AnswerRe: Problem using Environment.OSversion? Pin
Spunky Coder12-Mar-09 20:37
Spunky Coder12-Mar-09 20:37 
AnswerRe: Problem using Environment.OSversion? Pin
dan!sh 12-Mar-09 20:40
professional dan!sh 12-Mar-09 20:40 
Questionneed helps,comment system. Pin
peacefulheart12-Mar-09 19:44
peacefulheart12-Mar-09 19:44 
AnswerRe: need helps,comment system. Pin
0x3c012-Mar-09 21:05
0x3c012-Mar-09 21:05 
QuestionGroove-Import files in Issue Tracking tool using any technology (dotnet,java..etc.) Pin
Member 259548812-Mar-09 19:43
Member 259548812-Mar-09 19:43 
QuestionProperties Pin
Illegal Operation12-Mar-09 19:23
Illegal Operation12-Mar-09 19:23 
GeneralImplementing single-sign-on in an asp.net web application Pin
Siffon12-Mar-09 19:07
Siffon12-Mar-09 19:07 
GeneralRe: Implementing single-sign-on in an asp.net web application Pin
Abhijit Jana12-Mar-09 19:18
professionalAbhijit Jana12-Mar-09 19:18 
Siffon wrote:
Username is 1st checked in SQL Server 2005 database, after that credentials are checked in LDAP.

So you are authenticate user twice. Why?
Siffon wrote:

Now, we need to implement single-sign-on i.e. once the User provides the link of the application, internally User's windows login credentials should be checked against LDAP and authenticate the User.
There should not be any login page.

Windows credentials always check with your AD only.
Siffon wrote:
I an able to get the Windows login Username and IsAuthenticated value, but not the password.

No, You can't read password from Active Directory. Only can authenticate.

As, this is a web application, you can control it from bowser itself.
Tools -> Internet Option -> Security Tab -> Click on Custom Level -> Settings [ Scroll to User Authentication Section ], select Automatically login with current user name and password.
It will take the current user credentials and will login to your application when then hit the url.
But why? If some one else want to login from other system what will happen ?

cheers,
Abhijit
CodeProject MVP

QuestionMaking remote machine inaccessible Pin
Imtiaz Murtaza12-Mar-09 17:50
Imtiaz Murtaza12-Mar-09 17:50 
QuestionFind ListView Item by text...??? Pin
S K Y12-Mar-09 17:38
S K Y12-Mar-09 17:38 
AnswerRe: Find ListView Item by text...??? Pin
Xmen Real 12-Mar-09 17:44
professional Xmen Real 12-Mar-09 17:44 
GeneralRe: Find ListView Item by text...??? Pin
Expert Coming12-Mar-09 18:12
Expert Coming12-Mar-09 18:12 
QuestionChange Font for 1 Cell in DataGrid Pin
John Rossini12-Mar-09 17:29
John Rossini12-Mar-09 17:29 
QuestionControl cannot fall through from one case label to another? Pin
dec8212-Mar-09 17:19
dec8212-Mar-09 17:19 
AnswerRe: Control cannot fall through from one case label to another? Pin
Luc Pattyn12-Mar-09 17:58
sitebuilderLuc Pattyn12-Mar-09 17:58 
AnswerRe: Control cannot fall through from one case label to another? Pin
_Maxxx_12-Mar-09 19:24
professional_Maxxx_12-Mar-09 19:24 
QuestionGetting externel or internet IP Pin
Xmen Real 12-Mar-09 15:53
professional Xmen Real 12-Mar-09 15:53 
AnswerRe: Getting externel or internet IP Pin
Yusuf12-Mar-09 17:37
Yusuf12-Mar-09 17:37 
GeneralRe: Getting externel or internet IP Pin
Xmen Real 12-Mar-09 17:40
professional Xmen Real 12-Mar-09 17:40 
AnswerRe: Getting externel or internet IP Pin
Luc Pattyn12-Mar-09 18:03
sitebuilderLuc Pattyn12-Mar-09 18:03 
GeneralRe: Getting externel or internet IP Pin
Xmen Real 12-Mar-09 20:34
professional Xmen Real 12-Mar-09 20:34 
GeneralRe: Getting externel or internet IP Pin
Luc Pattyn13-Mar-09 2:17
sitebuilderLuc Pattyn13-Mar-09 2:17 
GeneralRe: Getting externel or internet IP Pin
Xmen Real 13-Mar-09 2:20
professional Xmen Real 13-Mar-09 2:20 
AnswerRe: Getting externel or internet IP Pin
dan!sh 12-Mar-09 20:25
professional dan!sh 12-Mar-09 20:25 
General[Message Deleted] Pin
S K Y12-Mar-09 15:31
S K Y12-Mar-09 15:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.