![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
My client is asking that when their application is run by a regular user an administrator level user be able to enter their credentials to enable certain advanced features. The application does not need to run with the admin's credentials, we just want to validate that the user asking for the advanced features has the admin credentials and enable the advanced features until the application is closed or the advanced features are turned off. Is this possible? If so in general how can it be achieved from a managed application (VB.NET)? Sid. |
#3
| |||
| |||
|
|
Hi Sid, If the computer is part of a domain or you want to check against a local administrator account, use the LogonUser method. See http://www.pinvoke.net/default.aspx/...LogonUser.html. Kind regards, Henning Krause "Sid Price" <sid (AT) nowhere (DOT) com> wrote in message news:eNRotxAHIHA.5328 (AT) TK2MSFTNGP05 (DOT) phx.gbl... My client is asking that when their application is run by a regular user an administrator level user be able to enter their credentials to enable certain advanced features. The application does not need to run with the admin's credentials, we just want to validate that the user asking for the advanced features has the admin credentials and enable the advanced features until the application is closed or the advanced features are turned off. Is this possible? If so in general how can it be achieved from a managed application (VB.NET)? Sid. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |