Click here to Skip to main content
15,898,035 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# - Channel already registered Pin
S. Senthil Kumar9-Feb-05 9:27
S. Senthil Kumar9-Feb-05 9:27 
GeneralRe: C# - Channel already registered Pin
deceptionuk9-Feb-05 9:36
deceptionuk9-Feb-05 9:36 
GeneralRe: C# - Channel already registered Pin
Judah Gabriel Himango9-Feb-05 10:16
sponsorJudah Gabriel Himango9-Feb-05 10:16 
GeneralRe: C# - Channel already registered Pin
deceptionuk9-Feb-05 10:26
deceptionuk9-Feb-05 10:26 
GeneralRe: C# - Channel already registered Pin
Judah Gabriel Himango9-Feb-05 10:57
sponsorJudah Gabriel Himango9-Feb-05 10:57 
GeneralRe: C# - Channel already registered Pin
Scott Serl9-Feb-05 12:22
Scott Serl9-Feb-05 12:22 
Generalstrings Pin
John L. DeVito9-Feb-05 9:01
professionalJohn L. DeVito9-Feb-05 9:01 
GeneralRe: strings Pin
chunyu.net9-Feb-05 9:07
chunyu.net9-Feb-05 9:07 
GeneralRe: strings Pin
S. Senthil Kumar9-Feb-05 9:10
S. Senthil Kumar9-Feb-05 9:10 
GeneralRe: strings Pin
Christian Graus9-Feb-05 9:33
protectorChristian Graus9-Feb-05 9:33 
GeneralRe: strings Pin
Jon Sagara9-Feb-05 10:41
Jon Sagara9-Feb-05 10:41 
GeneralRe: strings Pin
John L. DeVito9-Feb-05 10:47
professionalJohn L. DeVito9-Feb-05 10:47 
GeneralRe: strings Pin
MoustafaS9-Feb-05 12:18
MoustafaS9-Feb-05 12:18 
GeneralRe: strings Pin
Dave Kreskowiak9-Feb-05 17:04
mveDave Kreskowiak9-Feb-05 17:04 
GeneralSystem.Diagnostics.Process memory issue Pin
chunyu.net9-Feb-05 7:11
chunyu.net9-Feb-05 7:11 
GeneralRe: System.Diagnostics.Process memory issue Pin
S. Senthil Kumar9-Feb-05 8:41
S. Senthil Kumar9-Feb-05 8:41 
GeneralRe: System.Diagnostics.Process memory issue Pin
chunyu.net9-Feb-05 9:06
chunyu.net9-Feb-05 9:06 
Generalpassing char[] from c++ to c# in a web method from a lecacy c++ dll Pin
pleoncini9-Feb-05 5:49
pleoncini9-Feb-05 5:49 
GeneralListBox.TopIndex... Pin
cromag9-Feb-05 5:09
cromag9-Feb-05 5:09 
GeneralRe: ListBox.TopIndex... Pin
cromag9-Feb-05 5:17
cromag9-Feb-05 5:17 
GeneralReading Outlook Attachments using MAPI33 wrapper dll using C# Pin
keshavcn9-Feb-05 4:08
keshavcn9-Feb-05 4:08 
General.NET remoting error Pin
Member 16488299-Feb-05 3:49
Member 16488299-Feb-05 3:49 
GeneralRe: .NET remoting error Pin
S. Senthil Kumar9-Feb-05 8:43
S. Senthil Kumar9-Feb-05 8:43 
GeneralLogon User Pin
sharathgowda9-Feb-05 0:50
sharathgowda9-Feb-05 0:50 
GeneralRe: Logon User Pin
Mike Dimmick9-Feb-05 2:30
Mike Dimmick9-Feb-05 2:30 
From the documentation[^]:

Windows 2000: The process calling LogonUser requires the SE_TCB_NAME privilege. If the calling process does not have this privilege, LogonUser fails and GetLastError returns ERROR_PRIVILEGE_NOT_HELD. In some cases, the process that calls LogonUser must also have the SE_CHANGE_NOTIFY_NAME privilege enabled; otherwise, LogonUser fails and GetLastError returns ERROR_ACCESS_DENIED. This privilege is not required for the local system account or accounts that are members of the administrators group. By default, SE_CHANGE_NOTIFY_NAME is enabled for all users, but some administrators may disable it for everyone.

SE_TCB_NAME is known as "Act as part of the operating system" in the privilege-setting user interface. It's only given to the SYSTEM/LocalSystem account by default.

Since you don't say what you're trying to do, it's difficult to help further. If you want to create a process running under a different user account, try CreateProcessWithLogonW[^].

Stability. What an interesting concept. -- Chris Maunder

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.