Click here to Skip to main content
15,925,602 members
Home / Discussions / C#
   

C#

 
AnswerRe: windows service username Pin
Ennis Ray Lynch, Jr.17-Sep-10 3:45
Ennis Ray Lynch, Jr.17-Sep-10 3:45 
Go to your control panel-Admin Tools-Services and right click on the service, select properties -Log On tab ... have fun.


BTW,
System.Security.Principal.WindowsIdentity.GetCurrent().Name

is a string. If you call ToString on a string you look foolish. It is my personal crusade to get .NET developers to understand the concept of type.

Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS.

"And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

AnswerRe: windows service username Pin
Mycroft Holmes17-Sep-10 4:58
professionalMycroft Holmes17-Sep-10 4:58 
QuestionOK, how would I do this in c# please Pin
stephen.darling16-Sep-10 12:34
stephen.darling16-Sep-10 12:34 
AnswerRe: OK, how would I do this in c# please Pin
harold aptroot16-Sep-10 12:40
harold aptroot16-Sep-10 12:40 
GeneralRe: OK, how would I do this in c# please Pin
stephen.darling16-Sep-10 12:46
stephen.darling16-Sep-10 12:46 
AnswerRe: OK, how would I do this in c# please [modified] Pin
Luc Pattyn16-Sep-10 13:24
sitebuilderLuc Pattyn16-Sep-10 13:24 
GeneralRe: OK, how would I do this in c# please Pin
stephen.darling16-Sep-10 13:47
stephen.darling16-Sep-10 13:47 
GeneralRe: OK, how would I do this in c# please Pin
Luc Pattyn16-Sep-10 13:58
sitebuilderLuc Pattyn16-Sep-10 13:58 
GeneralRe: OK, how would I do this in c# please Pin
stephen.darling16-Sep-10 14:13
stephen.darling16-Sep-10 14:13 
GeneralRe: OK, how would I do this in c# please Pin
Luc Pattyn16-Sep-10 14:19
sitebuilderLuc Pattyn16-Sep-10 14:19 
GeneralRe: OK, how would I do this in c# please Pin
stephen.darling16-Sep-10 14:31
stephen.darling16-Sep-10 14:31 
GeneralRe: OK, how would I do this in c# please Pin
Luc Pattyn16-Sep-10 14:51
sitebuilderLuc Pattyn16-Sep-10 14:51 
GeneralRe: OK, how would I do this in c# please Pin
AspDotNetDev16-Sep-10 15:46
protectorAspDotNetDev16-Sep-10 15:46 
AnswerRe: OK, how would I do this in c# please Pin
PIEBALDconsult16-Sep-10 16:15
mvePIEBALDconsult16-Sep-10 16:15 
GeneralRe: OK, how would I do this in c# please Pin
stephen.darling16-Sep-10 16:50
stephen.darling16-Sep-10 16:50 
AnswerRe: OK, how would I do this in c# please Pin
David Skelly16-Sep-10 22:22
David Skelly16-Sep-10 22:22 
GeneralRe: OK, how would I do this in c# please Pin
AspDotNetDev17-Sep-10 10:14
protectorAspDotNetDev17-Sep-10 10:14 
Questionjust cant get this code to produce correct value Pin
stephen.darling16-Sep-10 10:08
stephen.darling16-Sep-10 10:08 
AnswerRe: just cant get this code to produce correct value Pin
Luc Pattyn16-Sep-10 10:24
sitebuilderLuc Pattyn16-Sep-10 10:24 
GeneralRe: just cant get this code to produce correct value Pin
stephen.darling16-Sep-10 10:43
stephen.darling16-Sep-10 10:43 
GeneralRe: just cant get this code to produce correct value Pin
Luc Pattyn16-Sep-10 10:50
sitebuilderLuc Pattyn16-Sep-10 10:50 
AnswerRe: just cant get this code to produce correct value Pin
T M Gray16-Sep-10 10:40
T M Gray16-Sep-10 10:40 
GeneralRe: just cant get this code to produce correct value Pin
stephen.darling16-Sep-10 10:58
stephen.darling16-Sep-10 10:58 
GeneralRe: just cant get this code to produce correct value Pin
Richard MacCutchan16-Sep-10 22:44
mveRichard MacCutchan16-Sep-10 22:44 
GeneralRe: just cant get this code to produce correct value Pin
T M Gray17-Sep-10 4:08
T M Gray17-Sep-10 4: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.