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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "LsaAddAccountRights" in [All]

advapi32

.
Summary
The LsaAddAccountRights function assigns one or more privileges to an account. If the account does not exist, LsaAddAccountRights creates it.
.

static extern uint LsaAddAccountRights(

.

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

.

    ret = LsaAddAccountRights(Policy, EveryoneSID, DenyTSRights, 1)

.
Documentation
[LsaAddAccountRights] on MSDN
.

    internal static extern uint LsaAddAccountRights(

.

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

.

            uint aLSAResult = LsaAddAccountRights( aPolicyHandle, aSid, aUserRightsLSAString, 1 );


 
Access PInvoke.net directly from VS: