Obtains the access token for a client security context and uses it directly.
SyntaxKSECDDDECLSPEC SECURITY_STATUS SEC_ENTRY QuerySecurityContextToken(
[in] PCtxtHandle phContext,
[out] void **Token
);
Parameters
[in] phContext
Handle of the context to query.
[out] Token
Returned handle to the access token.
Return valueIf the function succeeds, the function returns SEC_E_OK.
If the function fails, it returns a nonzero error code. One possible error code return is SEC_E_INVALID_HANDLE.
This function is called by a server application to control impersonation outside the SSPI layer, such as when launching a child process. The handle returned must be closed with CloseHandle when the handle is no longer needed.
Requirements Requirement Value Minimum supported client Windows XP [desktop apps only] Minimum supported server Windows Server 2003 [desktop apps only] Target Platform Windows Header sspi.h (include Security.h) Library Secur32.lib DLL Secur32.dll See also Additional resources In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4