Re: Authenticate user NT login using .NET



Hello, Peter_SMT!

PS> These other people maybe Administrators (full access to machine
PS> software), Engineers, Technicians and Operators (very limited access
PS> machine software).

PS> My question is: Without having to log out the current user (belonging
PS> to the Administrator group) how can I validate the user credentials of
PS> people who wish to use the machine software or parts of the machine
PS> software? I want to be able to use OS/Domain (NT/2K or XP)
PS> authentication.

P/Invoke on LogonUser win32 function to check user credentials
( http://www.pinvoke.net/default.aspx/advapi32.LogonUser )
( http://www.thecodeproject.com/csharp/cpimpersonation1.asp )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Relevant Pages

  • Re: IIS 4.0/NTFS/A.D.
    ... Intranet that has limited access through NFTS. ... >I'm probably the one missing something. ... >>administrators group. ... >>>IIS administration requires the local administrator. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Remove desktop shortcuts for limited acct users
    ... account with limited access, ... Remove them from the "All Users" profile area in Documents and ... Settings and put them in the administrators profile instead - if that is the ... only user you want to see those particular shortcuts. ...
    (microsoft.public.windowsxp.general)
  • Lost administrator password, please help
    ... I gave my girls ages 10 & 11 a used dell computer about a year ago, ... were both set up as administrators. ... limited access so unfortunately without making another adminstartor ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: How to give other users access to programs
    ... >new computer with two administrators (both of which are ... >myself) and 4 other users with limited access. ... Copy any icons for ...
    (microsoft.public.windowsxp.security_admin)