Re: using System.Net.NetworkCredential class

From: Carlton Nettleton (cnett858_at_hotmail.com)
Date: 05/25/04


Date: Tue, 25 May 2004 08:37:01 -0700

That still does not work. As I am thinking about this, perhaps I am
trying to test something that does not exist or is never set?

I am using the IPrincipal interface to detect if the user belongs to a
role. If the IsInRole() method returns false, the user is brought to a
denied access page. If true, then they are sent to the correct page.
Maybe IPrincipal is not set in the NetworkCredential class when
validating credentials programmatically?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!