Skip to content

Latest commit

 

History

History
79 lines (63 loc) · 2.36 KB

nc-ntsecpkg-lsa_open_token_by_logon_id.md

File metadata and controls

79 lines (63 loc) · 2.36 KB
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.
LSA_OPEN_TOKEN_BY_LOGON_ID
LSA_OPEN_TOKEN_BY_LOGON_ID callback
OpenTokenByLogonId
OpenTokenByLogonId callback function [Security]
ntsecpkg/OpenTokenByLogonId
security.opentokenbylogonid
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
LSA_OPEN_TOKEN_BY_LOGON_ID
ntsecpkg/LSA_OPEN_TOKEN_BY_LOGON_ID
c++
APIRef
kbSyntax
UserDefined
Ntsecpkg.h
OpenTokenByLogonId

LSA_OPEN_TOKEN_BY_LOGON_ID callback function

-description

Opens the user access token associated with the specified user logon.

-parameters

-param LogonId [in]

A pointer to a LUID structure that identifies the user for which to open the access token.

-param RetTokenHandle [out]

A pointer to the handle to the token this function opens.

-returns

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.

-remarks

A pointer to the OpenTokenByLogonId function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.

-see-also

SpInitialize