Is there a simple out of the box way to impersonate a user in .NET?
So far i haveI've been using this class from code project for all my impersonation requirements. But is
Is there a better way to do it,by by using .NET framework, out of the boxFramework?
I have a user credential set, (username, password, domain name) which represents the identity iI need to impersonate.