English
Regulars table & Café

AdjustTokenPrivileges.

 


Description:

AdjustTokenPrivileges position Privilegien in a ‚Access Token’ one (enable/deaktivieren). Privilegien there only in NT-based Systemen. the lever the Token needed In any drop $20 (TOKEN_ADJUST_PRIVILEGES) Accessrechte.




Deklaration:

DEF @AdjustTokenPrivileges(6) !advapi32,AdjustTokenPrivileges




Parameter:

1.Parameter: lever the Token, the The einzustellenden Privilegien contains as LongInt.
2.Parameter: Flag, the angibt, whether any Privilegien deaktiviert go should. =>
·1 = any in the Token encompassed Privilegien go deaktiviert and Parameter 3 becomes ignoring.
·0 = The in Parameter 3 angegebenen Privilegien go to whom in Parameter 3 angegebenen Information activate or deaktiviert.
3.Parameter: Structure or Bereichvariable, The The indicated over The Privilegien contains. (on the simplest is it, to Time always only one privilege To Edit.) =>
·byte 0-3 = Number of Privilegien
·byte 4-11 = LUID the 1.Privilegs
·byte 12-15 = Flag for the Attribut the Privilegs: $1=Standardmäßig aktiviert; $2=aktiviert; $80000000=Privileg watts for grabbed needed.
·byte 16-23 = LUID the 2.Privilegs
·…usw…
4.Parameter: Size in Bytes the Bereichs in Parameter 5. can 0 his, if Parameter 5 0 is.
5.Parameter:enough dimensionierte Bereichsvariale, The whom previous status the Privilegien receiving.
6.Parameter: 4 byte large Memory-Variable, The The erforderliche Size the Memory-Variables in Parameter 5 in Bytes receiving. this Parameter can 0 his, if Parameter 5 0 is.



Return Value:

1 with success, 0 with failure.


Examples:

[...] 
[...] 
 
03/17/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.305 Views

Untitledvor 0 min.

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie