Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hard Disk Manufacter Serial Number Pin
Stanciu Vlad3-Feb-06 6:14
Stanciu Vlad3-Feb-06 6:14 
GeneralRe: Hard Disk Manufacter Serial Number Pin
Simon Capewell3-Feb-06 6:19
Simon Capewell3-Feb-06 6:19 
GeneralRe: Hard Disk Manufacter Serial Number Pin
Stanciu Vlad3-Feb-06 21:27
Stanciu Vlad3-Feb-06 21:27 
Questionexport text/reports in XLS, HTML, PDF, DBF, XML format Pin
MihaiChioariu3-Feb-06 4:27
MihaiChioariu3-Feb-06 4:27 
AnswerRe: export text/reports in XLS, HTML, PDF, DBF, XML format Pin
malharone3-Feb-06 4:51
malharone3-Feb-06 4:51 
GeneralRe: export text/reports in XLS, HTML, PDF, DBF, XML format Pin
MihaiChioariu3-Feb-06 5:52
MihaiChioariu3-Feb-06 5:52 
GeneralRe: export text/reports in XLS, HTML, PDF, DBF, XML format Pin
malharone3-Feb-06 6:02
malharone3-Feb-06 6:02 
QuestionHelp with Environment.UserName and services Pin
DUKEMAN3-Feb-06 4:04
DUKEMAN3-Feb-06 4:04 
Can anyone help me?

I have a service written in C# which runs under the System Account, and seems to be working fine. But one of the things i need to do is get the current logged in user (i.e. the person who logged into the workstation), but can't seem to get it.

I’ve tried using the Environment.UserName Property but all this seems to return is the account of person who started the current thread. Does anyone have any ideas how to get the information while running with a service?

Cheers

Paul

AnswerRe: Help with Environment.UserName and services Pin
Sean Michael Murphy3-Feb-06 5:17
Sean Michael Murphy3-Feb-06 5:17 
GeneralRe: Help with Environment.UserName and services Pin
DUKEMAN3-Feb-06 5:33
DUKEMAN3-Feb-06 5:33 
QuestionC# 2.0 & 1.1 interop Pin
ryancrawcour3-Feb-06 3:22
ryancrawcour3-Feb-06 3:22 
AnswerRe: C# 2.0 & 1.1 interop Pin
Sebastian Schneider3-Feb-06 4:22
Sebastian Schneider3-Feb-06 4:22 
AnswerRe: C# 2.0 & 1.1 interop Pin
Daniel Grunwald3-Feb-06 10:07
Daniel Grunwald3-Feb-06 10:07 
QuestionHelp with Form Load - controls look black before drawing Pin
Martiankeeper3-Feb-06 2:55
Martiankeeper3-Feb-06 2:55 
AnswerRe: Help with Form Load - controls look black before drawing Pin
mmikey73-Feb-06 3:36
mmikey73-Feb-06 3:36 
GeneralRe: Help with Form Load - controls look black before drawing Pin
Martiankeeper3-Feb-06 3:53
Martiankeeper3-Feb-06 3:53 
GeneralRe: Help with Form Load - controls look black before drawing Pin
mmikey73-Feb-06 4:11
mmikey73-Feb-06 4:11 
GeneralRe: Help with Form Load - controls look black before drawing Pin
Martiankeeper3-Feb-06 4:02
Martiankeeper3-Feb-06 4:02 
GeneralRe: Help with Form Load - controls look black before drawing Pin
leppie3-Feb-06 4:14
leppie3-Feb-06 4:14 
GeneralRe: Help with Form Load - controls look black before drawing Pin
Martiankeeper3-Feb-06 4:24
Martiankeeper3-Feb-06 4:24 
GeneralRe: Help with Form Load - controls look black before drawing Pin
mmikey73-Feb-06 6:45
mmikey73-Feb-06 6:45 
GeneralRe: Help with Form Load - controls look black before drawing Pin
Martiankeeper5-Feb-06 21:59
Martiankeeper5-Feb-06 21:59 
GeneralRe: Help with Form Load - controls look black before drawing Pin
mmikey73-Feb-06 7:31
mmikey73-Feb-06 7:31 
Questionquestion about split method c# Pin
fady_sayegh3-Feb-06 0:29
fady_sayegh3-Feb-06 0:29 
AnswerRe: question about split method c# Pin
Ingo3-Feb-06 2:08
Ingo3-Feb-06 2:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.