You can create a WindowsPrincipal object based on the current
WindowsIdentity (GetCurrent on WindowsIdentity), and use the
WindowsPrincipal to ceck if the user is in some given domain or local group.
Other than that, it's off to P/Invoke.
-Rob Teixeira [MVP]
"Adam Gentry" <an*******@discussions.microsoft.com> wrote in message
news:E3**********************************@microsof t.com...
Let's try this again...
Is there any current functionality in C# to access windows authentication
in a windows application (not ASP) without using unmanaged code?
I would appreciate if anyone has an example.
Regards,
AG