Location: Symbol Reference > Classes > TJwSecurityToken Class > TJwSecurityToken Methods > SaferComputeTokenFromLevel Method > TJwSecurityToken.SaferComputeTokenFromLevel Method (TSaferLevelHandle, TJwSecurityToken, DWORD, TJwSaferComputeTokenResult)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityToken.SaferComputeTokenFromLevel Method (TSaferLevelHandle, TJwSecurityToken, DWORD, TJwSaferComputeTokenResult)
Pascal
class procedure SaferComputeTokenFromLevel(const SaferLevelHandle: TSaferLevelHandle; const InAccessToken: TJwSecurityToken; SaferFlags: DWORD; out Result: TJwSaferComputeTokenResult); 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: TJwSaferComputeTokenResult 
A structure that contains the result of the call. The token is returned in this record. Some flags can indicate that the returned token is nil. 

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!