.
' Setup the input parameters for the LsaRemoveAccountRights API
.
internal static extern uint LsaRemoveAccountRights(
.
uint ret = Win32Sec.LsaRemoveAccountRights(lsaHandle, pSid, false, privileges, 1);
.
The LsaRemoveAccountRights function removes one or more privileges from an account.
8/20/2007 7:53:59 AM - egray1@hot.rr.com-150.113.7.99
.
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)
.