Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it possible to change the 'client user' in in the event log, when the log has been cleared to show maybe the persons first and last name rather than a profile name in vb. we have a system set up that multiple people use one profile on the computer but use another program to log in the username. its a an application me and my buddys are developing for a small buisness.
Posted

1 solution

There is no direct .NET API you can use, but if you want to fiddle around you can P/Invoke WIN32 to do it for you. See this blog for details: Logging Events with User details[^]
 
Share this answer
 
Comments
Henry Minute 3-Feb-11 17:45pm    
Excellent find, Yusef. :) + 5
Sergey Alexandrovich Kryukov 3-Feb-11 21:17pm    
Agree - my 5, too.
Actually, event logs have many "secrets", that was one.
--SA
Sergey Alexandrovich Kryukov 8-Apr-11 21:38pm    
Hi Yusuf. Yes, this is a good one, my 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900