UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:ntsecpkg.LSA_OPEN_TOKEN_BY_LOGON_ID |
LSA_OPEN_TOKEN_BY_LOGON_ID (ntsecpkg.h) |
Opens the user access token associated with the specified user logon. |
|
security\opentokenbylogonid.htm |
security |
3cd3e4fe-7548-44f9-ab04-01b30bdf3bd9 |
12/05/2018 |
LSA_OPEN_TOKEN_BY_LOGON_ID, LSA_OPEN_TOKEN_BY_LOGON_ID callback, OpenTokenByLogonId, OpenTokenByLogonId callback function [Security], ntsecpkg/OpenTokenByLogonId, security.opentokenbylogonid |
ntsecpkg.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Windows |
19H1 |
|
|
|
|
|
|
Opens the user access token associated with the specified user logon.
A pointer to a LUID structure that identifies the user for which to open the access token.
A pointer to the handle to the token this function opens.
If the function succeeds, return STATUS_SUCCESS, or an informational status code.
If the function fails, return an NTSTATUS error code that indicates the reason it failed.
A pointer to the OpenTokenByLogonId function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.