special authentication

From: Peter Kornills (peter.kornills_at_web.de)
Date: 02/22/05


Date: 22 Feb 2005 06:41:44 -0800

Hi!

My problem is quiet simple, but a solution seems to be difficult(for
me):
I've a group of users for my asp.net webapplication. In case of a
login the User should be authenticated automaticly (this means the
application should verify if he's allowed to use it).

I want to get the windows username from the client and look up in an
oracle database weather the user is allowed to act with the webapp. If
he isn't the Application will redirect to an error-message.

But it seems to be hard to get the windows-user.

I've tried to set the authentication form on "Windows" in the
Web.config-file

In the code behind I try to get the following value:

name = Page.User.Identity.Name

but that doesn't work.
Does any body have an idea to solve this problem?

Regards

Peter