Re: IsInRole always return fasle on secure remoting call (Framework 2.0)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Since you have get remote caller's aco*** from
System.Threading.Thread.CurrentPrincipal, you amy authenticate it by query
the AD directly:

How to authenticate against the Active Directory by using Forms
authentication and Visual C# .NET

http://support.microsoft.com/kb/316748

Luke Zhang
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

.


Quantcast