Reg: Help to Get User Name And their roles ! Urgent
From: szabelin (szabelin@cal.berkeley.edu)
Date: 04/24/03
- Next message: howard: "Running a Web application with Administrator privileges"
- Previous message: Hakim Bouras: "Single Login and sharing Session variables across ASP.NET application"
- In reply to: rama: "Reg: Help to Get User Name And their roles ! Urgent"
- Next in thread: rama: "Re: Help to Get User Name And their roles ! Urgent"
- Reply: rama: "Re: Help to Get User Name And their roles ! Urgent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "szabelin" <szabelin@cal.berkeley.edu> Date: Thu, 24 Apr 2003 11:55:17 -0700
Hi try going to your IIS -> right click on your folder ->
Properties -> Directory Security -> Edit
And set Integrated Windows Authentication to ON
I did that in my case and I get IIdentity object set with
user name and so on
Hope this helps you too
Sergey
>-----Original Message-----
>Hi All:
>
>Iam unable to get the user name and their active role in
a web form from
>asp.net. I have used user.identity.name to get the user
name. Iam using
>Vb.net as a language in asp.net. But nothing is displayed
by using the
>mentioned property. Actually what i need is, i want to
know the user name
>who had enter into my site, and his/ her pariticular role
through windows
>authentication. If i know the
>role and user name, then accordingly, i'll restrict the
forms to show to
>that particualr user according to their priveleges. Iam
using Win-2000
>Server as OS. Could anyone come across
>this problem. Please help me out.
>
>Thanx in advance
>
>Best Regards
>Rama Krishna.M
>
>
>.
>
- Next message: howard: "Running a Web application with Administrator privileges"
- Previous message: Hakim Bouras: "Single Login and sharing Session variables across ASP.NET application"
- In reply to: rama: "Reg: Help to Get User Name And their roles ! Urgent"
- Next in thread: rama: "Re: Help to Get User Name And their roles ! Urgent"
- Reply: rama: "Re: Help to Get User Name And their roles ! Urgent"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|