Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
updated title to reflect a question someone would search on, updated question grammar
Source Link

How do you do Impersonation in .NET?

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.

Impersonation in .NET

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

How do you do Impersonation in .NET?

Is there a simple out of the box way to impersonate a user in .NET? 

So far I've been using this class from code project for all my impersonation requirements.

Is there a better way to do it by using .NET Framework? 

I have a user credential set, (username, password, domain name) which represents the identity I need to impersonate.

Question made more specific
Source Link
ashwnacharya
  • 14.9k
  • 27
  • 91
  • 117

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

Is there a simple out of the box way to impersonate a user in .NET? So far i have been using this class from code project for all my impersonation requirements. But is there a better way to do it,by using .NET framework, out of the box?

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

Source Link
ashwnacharya
  • 14.9k
  • 27
  • 91
  • 117

Impersonation in .NET

Is there a simple out of the box way to impersonate a user in .NET? So far i have been using this class from code project for all my impersonation requirements. But is there a better way to do it,by using .NET framework, out of the box?