views:

958

answers:

2

What permissions do I need to give a User for them to be able to write to the Windows EventLog? I have an ASP.NET application that needs to impersonate a user and that impersonated user must be able to write the event log

+1  A: 

To create an Event Log source you need to be an administrator, otherwise you should be able to write to it without elevated privileges.

Maybe take a look at this article.

Brandon
A: 

The MSDN docs on Event Logging (Win32) do not mention any required privileges.

Regardless, I'm not sure I understand why you need to write to the log using the impersonation token. You can still impersonate, but also write to the log with a different (admin) account, if that's necessary.

Assaf Lavie