Location: Symbol Reference > Classes > TJwSecurityToken Class > TJwSecurityToken Methods > SaferComputeTokenFromLevel Method > TJwSecurityToken.SaferComputeTokenFromLevel Method (TSaferLevelHandle, TJwSecurityToken, DWORD, TJwSecurityToken)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityToken.SaferComputeTokenFromLevel Method (TSaferLevelHandle, TJwSecurityToken, DWORD, TJwSecurityToken)
Pascal
class procedure SaferComputeTokenFromLevel(const SaferLevelHandle: TSaferLevelHandle; const InAccessToken: TJwSecurityToken; SaferFlags: DWORD; out Result: TJwSecurityToken); virtual; overload;
Parameters 
Description 
const SaferLevelHandle: TSaferLevelHandle 
A handle obtained by the WinAPI function SaferCreateLevel.  
const InAccessToken: TJwSecurityToken 
An access token that is to be restricted by the Safer API. If nil the current thread token is used. It the thread is not impersonating the process token is used instead.  
SaferFlags: DWORD 
Some flags applied to SaferFlags WinAPI function SaferComputeTokenFromLevel. See MSDN docs for more information.  
out Result: TJwSecurityToken 
The restricted token created by the API call. Notice: SaferFlags that do not create a token are stripped out of the call. 

SaferComputeTokenFromLevel encapsulates the SAFER API function SaferComputeTokenFromLevel. 

 

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!