Click here to Skip to main content
15,922,007 members
Home / Discussions / C#
   

C#

 
GeneralRe: Accessing the Administrator password Pin
Mohamad Al Husseiny4-Aug-05 12:50
Mohamad Al Husseiny4-Aug-05 12:50 
you can use WindowsIdentiy and WindowsPrincipal
to check if current user is in admin or not
but if you want to create identity from username and password you can use LogonUser api function to create
token and create identity from it
the following links may help
How to Get Token for a user[^]
How to Create Windows Principal Given a Token[^]
GeneralWinForms: programatically created control will not paint Pin
SebbaP4-Aug-05 9:36
SebbaP4-Aug-05 9:36 
GeneralRe: WinForms: programatically created control will not paint Pin
Rob Graham4-Aug-05 9:48
Rob Graham4-Aug-05 9:48 
GeneralRe: WinForms: programatically created control will not paint Pin
SebbaP4-Aug-05 10:39
SebbaP4-Aug-05 10:39 
GeneralRe: WinForms: programatically created control will not paint Pin
Sebrell4-Aug-05 11:05
Sebrell4-Aug-05 11:05 
GeneralRe: WinForms: programatically created control will not paint Pin
SebbaP6-Aug-05 4:12
SebbaP6-Aug-05 4:12 
GeneralRe: WinForms: programatically created control will not paint Pin
Rob Graham4-Aug-05 11:44
Rob Graham4-Aug-05 11:44 
QuestionImage recognition in .NET ? Pin
gicio4-Aug-05 9:11
gicio4-Aug-05 9:11 
AnswerRe: Image recognition in .NET ? Pin
Judah Gabriel Himango4-Aug-05 9:26
sponsorJudah Gabriel Himango4-Aug-05 9:26 
AnswerRe: Image recognition in .NET ? Pin
Andrew Kirillov4-Aug-05 9:32
Andrew Kirillov4-Aug-05 9:32 
GeneralRe: Image recognition in .NET ? Pin
Judah Gabriel Himango4-Aug-05 12:10
sponsorJudah Gabriel Himango4-Aug-05 12:10 
Generaladd bullets in MS Word with c# Pin
helenaz4-Aug-05 9:06
helenaz4-Aug-05 9:06 
GeneralCurrentCell - Tab Please Help Pin
zaboboa4-Aug-05 8:55
zaboboa4-Aug-05 8:55 
GeneralLockBits and 8bpp color table Pin
s2l4-Aug-05 8:32
s2l4-Aug-05 8:32 
GeneralTreeView events are lose when a TreeNode in any level is deleted Pin
Daniel MATHESIS MX4-Aug-05 8:06
sussDaniel MATHESIS MX4-Aug-05 8:06 
GeneralForcing an event Pin
zaboboa4-Aug-05 7:35
zaboboa4-Aug-05 7:35 
GeneralRe: Forcing an event Pin
Turtle Hand4-Aug-05 9:18
Turtle Hand4-Aug-05 9:18 
General.NET Audio Library Pin
James Spibey4-Aug-05 7:08
James Spibey4-Aug-05 7:08 
GeneralError when read a related deleted row Pin
Ming Luo4-Aug-05 6:50
Ming Luo4-Aug-05 6:50 
GeneralError in relational database. Please Help! Pin
Ming Luo4-Aug-05 6:43
Ming Luo4-Aug-05 6:43 
Generalobject reference problem Pin
ppp0014-Aug-05 6:17
ppp0014-Aug-05 6:17 
GeneralRe: object reference problem Pin
Guffa4-Aug-05 8:47
Guffa4-Aug-05 8:47 
Generalram memory pocket pc Pin
Anonymous4-Aug-05 6:14
Anonymous4-Aug-05 6:14 
General.NET Logging Framework (database) Pin
pankazmittal4-Aug-05 6:13
pankazmittal4-Aug-05 6:13 
GeneralRe: .NET Logging Framework (database) Pin
Dave Kreskowiak4-Aug-05 6:28
mveDave Kreskowiak4-Aug-05 6:28 

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.