|
JWSCL Documentation
|
constructor CreateRestrictedToken(PrevTokenHandle: TJwTokenHandle; const TokenAccessMask: TJwTokenAccessMask; const Flags: cardinal; const SidsToDisable: TJwSecurityIdList; const PrivilegesToDelete: TJwPrivilegeSet; const RestrictedSids: TJwSecurityIdList); virtual; overload;
|
Parameters |
Description |
|
aTokenHandle |
contains the token handle to be restricted in a new token. If this parameter is 0, first the thread token and if not existant second the process token will be used as a template, |
|
aTokenAccessMask |
contains the access mask of aTokenHandle. MAXIMUM_ALLOWED can be used to get the maximum access allowed. |
|
aFlags |
contains special flags:
|
|
aSidsToDisable |
contains a list of SIDs that are disabled to the new token. Can be nil. |
|
aPrivilegesToDelete |
contains a list of privileges to be removed from the token. Can be nil. |
|
aRestrictedSids |
contains a list of SIDs to be restricted. Can be nil. |
CreateRestrictedToken creates a new restricted token of an existing token. see http://msdn2.microsoft.com/en-us/library/aa446583.aspx for more information.
You must set aTokenAccessMask to the token access type of aTokenHandle.
|
Exceptions |
Description |
|
will be raised if the winapi call failed |
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|