Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User in event sinks

Status
Not open for further replies.

lancer227

Programmer
May 3, 2005
6
ES
Hi,

Anyone knows why if you ask in an evensink...

Dim objOriginalUser As WindowsIdentity = WindowsIdentity.GetCurrent
Dim Username as string=objOriginalUser.Name

Username is always administrator, even if the logged user is any other.

Why? Is there any possibility to change this?

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top