Export (0) Print
Expand All
Expand Minimize

MSV1_0_INTERACTIVE_PROFILE structure

The MSV1_0_INTERACTIVE_PROFILE structure contains information about an interactive logon profile.

This structure is used by the LsaLogonUser function.

Syntax


typedef struct _MSV1_0_INTERACTIVE_PROFILE {
  MSV1_0_PROFILE_BUFFER_TYPE MessageType;
  USHORT                     LogonCount;
  USHORT                     BadPasswordCount;
  LARGE_INTEGER              LogonTime;
  LARGE_INTEGER              LogoffTime;
  LARGE_INTEGER              KickOffTime;
  LARGE_INTEGER              PasswordLastSet;
  LARGE_INTEGER              PasswordCanChange;
  LARGE_INTEGER              PasswordMustChange;
  UNICODE_STRING             LogonScript;
  UNICODE_STRING             HomeDirectory;
  UNICODE_STRING             FullName;
  UNICODE_STRING             ProfilePath;
  UNICODE_STRING             HomeDirectoryDrive;
  UNICODE_STRING             LogonServer;
  ULONG                      UserFlags;
} MSV1_0_INTERACTIVE_PROFILE, *PMSV1_0_INTERACTIVE_PROFILE;

Members

MessageType

MSV1_0_PROFILE_BUFFER_TYPE value identifying the type of profile data being returned. This member must be set to MsV1_0InteractiveProfile.

LogonCount

Number of times the user is currently logged on.

Note  This value is not guaranteed to be accurate because the domain controller is not notified of all logons and logoffs.
BadPasswordCount

Number of times a password that is not valid was applied to the account since the last successful logon.

LogonTime

Time when the user last logged on. This is an absolute-format Windows standard time value.

LogoffTime

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

KickOffTime

Time when the system should force the user to log off. This is an absolute-format Windows standard time value. Note that Windows users are not forced to log off interactively; however, their network connections may be closed.

PasswordLastSet

Time and date the password was last changed. This is an absolute format Windows standard time value.

PasswordCanChange

Time and date when the user should be reminded to change passwords. This is an absolute-format Windows standard time value. This member is used by the GINA to display the prompt asking whether the user wants to change the current password.

PasswordMustChange

Time and date when the user must change the password. If the user can never change the password, this member is undefined. This is an absolute-format, Windows, standard time value.

LogonScript

UNICODE_STRING containing the relative path to the account's logon script.

HomeDirectory

UNICODE_STRING containing the home directory for the user.

FullName

UNICODE_STRING containing the full name of the user.

ProfilePath

UNICODE_STRING specifying the path to the user's roaming profile if the user has a roaming profile. For example: \\SomeServer\SomeShare\MyUserName

HomeDirectoryDrive

UNICODE_STRING containing the drive letter (for example, C:\ or D:\) of the home directory.

LogonServer

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

UserFlags

Specifies how this user established the session. This can be the following flag.

ValueMeaning
LOGON_EXTRA_SIDS

The user logged on using extra security identifiers (SIDs).

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecapi.h

See also

MSV1_0_PROFILE_BUFFER_TYPE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft