wrote in message news:ea4XjsHHIHA.4916@TK2MSFTNGP02.phx.gbl...
> 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/advapi32/LogonUser.html.
>
> Kind regards,
> Henning Krause
>
>
>
> "Sid Price" <sid@nowhere.com> wrote in message
> news:eNRotxAHIHA.5328@TK2MSFTNGP05.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.
>>
>