Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "LsaRemoveAccountRights" in [All]

advapi32

.

    ' Setup the input parameters for the LsaRemoveAccountRights API

.

    internal static extern uint LsaRemoveAccountRights(

.

        uint ret = Win32Sec.LsaRemoveAccountRights(lsaHandle, pSid, false, privileges, 1);

.
Summary
The LsaRemoveAccountRights function removes one or more privileges from an account.
.

    static extern uint LsaRemoveAccountRights(

.

    Private Declare Unicode Function LsaRemoveAccountRights Lib "advapi32.dll" ( _

.

    'NTSTATUS LsaRemoveAccountRights(

.

    ' Setup the input parameters for the LsaRemoveAccountRights API

.

    ret = LsaRemoveAccountRights(Policy, EveryoneSID, False, DenyTSRights, 1)

.
Documentation
[LsaRemoveAccountRights] on MSDN

 
Access PInvoke.net directly from VS: