Thx alot but i have a question for you:-
can't get WindowsPrincipa l.IsInRole() to work for me when using
Windows Authentication. Here's a snippit of code from my C#
codebehind page:
WindowsPrincipa l wp = new WindowsPrincipa l(
WindowsIdentity .GetCurrent() );
lblUser.Text = wp.Identity.Nam e;
Label1.Text = wp.IsInRole(@"D OMAIN\group").T oString();
where "DOMAIN\gro up" is a valid group name. The username shows up
correctly as "DOMAIN\usernam e" but for any non-builtin roles,
IsInRole() returns false. Does anyone have suggestions as to why this
is not working?
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!