Reg: Help to Get User Name And their roles ! Urgent

From: szabelin (szabelin@cal.berkeley.edu)
Date: 04/24/03


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
>
>
>.
>



Relevant Pages

  • Re: IIS 5 authentication problem
    ... IIS will honor NTFS permissions. ... E.g. if you have on your folder "Domain Users Group" and allow it to read, ... Lookup the post with subject "Integrated Windows Authentication & ... > We are trying to set integrated windows authentication from the ...
    (microsoft.public.inetserver.iis.security)
  • IIS 5 authentication problem
    ... On a windows xp pro PC we are trying to create a web ... We are trying to set integrated windows authentication from the ... Erman Ulusoy ...
    (microsoft.public.inetserver.iis.security)