Skip to content

Latest commit

 

History

History
215 lines (169 loc) · 7.6 KB

ns-ntsecapi-msv1_0_lm20_logon_profile.md

File metadata and controls

215 lines (169 loc) · 7.6 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
NS:ntsecapi._MSV1_0_LM20_LOGON_PROFILE
MSV1_0_LM20_LOGON_PROFILE (ntsecapi.h)
Contains information about a network logon session.
*PMSV1_0_LM20_LOGON_PROFILE
LOGON_CACHED_ACCOUNT
LOGON_EXTRA_SIDS
LOGON_GUEST
LOGON_NOENCRYPTION
LOGON_PROFILE_PATH_RETURNED
LOGON_RESOURCE_GROUPS
LOGON_SERVER_TRUST_ACCOUNT
LOGON_SUBAUTH_SESSION_KEY
LOGON_USED_LM_PASSWORD
MSV1_0_LM20_LOGON_PROFILE
MSV1_0_LM20_LOGON_PROFILE structure [Security]
PMSV1_0_LM20_LOGON_PROFILE
PMSV1_0_LM20_LOGON_PROFILE structure pointer [Security]
_lsa_msv1_0_lm20_logon_profile
ntsecapi/MSV1_0_LM20_LOGON_PROFILE
ntsecapi/PMSV1_0_LM20_LOGON_PROFILE
security.msv1_0_lm20_logon_profile
security\msv1_0_lm20_logon_profile.htm
security
4bf69171-1f92-40df-ab0f-cd6790ce34f1
12/05/2018
*PMSV1_0_LM20_LOGON_PROFILE, LOGON_CACHED_ACCOUNT, LOGON_EXTRA_SIDS, LOGON_GUEST, LOGON_NOENCRYPTION, LOGON_PROFILE_PATH_RETURNED, LOGON_RESOURCE_GROUPS, LOGON_SERVER_TRUST_ACCOUNT, LOGON_SUBAUTH_SESSION_KEY, LOGON_USED_LM_PASSWORD, MSV1_0_LM20_LOGON_PROFILE, MSV1_0_LM20_LOGON_PROFILE structure [Security], PMSV1_0_LM20_LOGON_PROFILE, PMSV1_0_LM20_LOGON_PROFILE structure pointer [Security], _lsa_msv1_0_lm20_logon_profile, ntsecapi/MSV1_0_LM20_LOGON_PROFILE, ntsecapi/PMSV1_0_LM20_LOGON_PROFILE, security.msv1_0_lm20_logon_profile
ntsecapi.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
MSV1_0_LM20_LOGON_PROFILE, *PMSV1_0_LM20_LOGON_PROFILE
19H1
_MSV1_0_LM20_LOGON_PROFILE
ntsecapi/_MSV1_0_LM20_LOGON_PROFILE
PMSV1_0_LM20_LOGON_PROFILE
ntsecapi/PMSV1_0_LM20_LOGON_PROFILE
MSV1_0_LM20_LOGON_PROFILE
ntsecapi/MSV1_0_LM20_LOGON_PROFILE
c++
APIRef
kbSyntax
HeaderDef
Ntsecapi.h
MSV1_0_LM20_LOGON_PROFILE

MSV1_0_LM20_LOGON_PROFILE structure

-description

The MSV1_0_LM20_LOGON_PROFILE structure contains information about a network logon session.

It is used by LsaLogonUser.

-struct-fields

-field MessageType

MSV1_0_PROFILE_BUFFER_TYPE value identifying the type of logon requested. The type of logon determines the format and content of the profile data returned. This member must be set to MsV1_0LM20LogonProfile.

-field KickOffTime

Time when the system should force user logoff. This is an absolute-format Windows standard time value.

-field LogoffTime

Time when the user should log off. This is an absolute-format Windows standard time value.

-field UserFlags

Specifies the way the user established the session. UserFlags can contain one or more of the following values.

Value Meaning
LOGON_GUEST
The user logged onto a guest account.
LOGON_NOENCRYPTION
The user logged on without using password encryption.
LOGON_CACHED_ACCOUNT
The user logged on using cached credentials.
LOGON_USED_LM_PASSWORD
The user logged on using an LM password instead of a Windows password. An LM password is the hashed version of the MBCS upper-cased password.

The Windows password is the hashed version of the Unicode password.

The caller may need to know which type of password was used to determine the corresponding session key (LanmanSessionKey or UserSessionKey).

LOGON_EXTRA_SIDS
SIDs from a domain other than the user's logon domain were sent back from the user's domain controller. This information is used internally by the LSA.
LOGON_SUBAUTH_SESSION_KEY
The user logged on using a subauthentication session key.
LOGON_SERVER_TRUST_ACCOUNT
The user logged on using a trusted server account.
LOGON_PROFILE_PATH_RETURNED
The profile path in the profile in the UserParameters member is valid.
LOGON_RESOURCE_GROUPS
The user logged on using resource groups.
 
Note  The high-order byte of UserFlags is reserved for return flags from subauthentication packages. The flags returned by a subauthentication package are package specific. For more information, see the documentation for the subauthentication package.
 

-field UserSessionKey

Contains a session key specific to the session and user. This session key can be used to encrypt and decrypt information sent between the client and server. This string is MSV1_0_USER_SESSION_KEY_LENGTH characters long. The array is not null-terminated and can contain embedded null characters.

-field LogonDomainName

UNICODE_STRING containing the name of the logon domain.

-field LanmanSessionKey

Contains the Lanman session key. This string is MSV1_0_LANMAN_SESSION_KEY_LENGTH characters long. It is not null-terminated and can contain embedded null characters.

-field LogonServer

UNICODE_STRING containing the name of the server that processed the logon request.

-field UserParameters

UNICODE_STRING containing user parameters. These parameters are primarily used by RAS to store RAS dial-in permissions for the user. In general, developers should not modify this member.

-see-also

LsaLogonUser

MSV1_0_PROFILE_BUFFER_TYPE