| |
|
|
declared LsaAddAccountRights fügt one Account Privilegien hinzu.
P:L1 With the LSAOpenPolicy sustained lever the Policy Objektes as Longint. the lever must with POLICY_CREATE_ACCOUNT and POLICY_LOOKUP_NAMES opened go. P:B2 Memory-Variable with the SID the Accounts, to the The Privilegien added should. P:B3 Bereichvariable with a aray from LSA_UNICODE_STRING Structures, The indicated over The hinzuzufügenden Privilegien contains. => · byte 0-1 = The long the Strings in Bytes, on the byte 4-7 verweist. · byte 2-3 = The length the Bereichs in Bytes, on the byte 4-7 verweist. · byte 4-7 = discretionary, but enough large Memory-Variable with a String in the Unicode stature, the whom names one hinzuzufügenden Privilegs contains. · byte 8-9 = The long the Strings in Bytes, on the byte 12-15 verweist. · byte 10-11 = The length the Bereichs in Bytes, on the byte 12-15 verweist. · byte 12-15 = discretionary, but enough large Memory-Variable with a String in the Unicode stature, the whom names one hinzuzufügenden Privilegs contains. · etc... P:L4 The Number of hinzuzufügenden Privilegien from Parameter 3. These function there only NT-based Windowssystemen. added Privilegien go naturally first to the renewed Einloggen the special Users active.
|
|
|
| |
|
|