lsa

package
v0.0.0-...-2c123da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LsaEnumerateLogonSessions

func LsaEnumerateLogonSessions(sessionCount *uint32, sessions *uintptr) error

func LsaFreeReturnBuffer

func LsaFreeReturnBuffer(buffer uintptr) error

func LsaGetLogonSessionData

func LsaGetLogonSessionData(luid *LUID, sessionData **SECURITY_LOGON_SESSION_DATA) error

func LsaNtStatusToWinError

func LsaNtStatusToWinError(ntstatus uintptr) error

Types

type LSA_LAST_INTER_LOGON_INFO

type LSA_LAST_INTER_LOGON_INFO struct {
	LastSuccessfulLogon                        uint64
	LastFailedLogon                            uint64
	FailedAttemptCountSinceLastSuccessfulLogon uint32
}

type LSA_UNICODE_STRING

type LSA_UNICODE_STRING struct {
	Length        uint16
	MaximumLength uint16
	Buffer        uintptr
}

type LUID

type LUID struct {
	// contains filtered or unexported fields
}

type SECURITY_LOGON_SESSION_DATA

type SECURITY_LOGON_SESSION_DATA struct {
	Size                  uint32
	LogonId               LUID
	UserName              LSA_UNICODE_STRING
	LogonDomain           LSA_UNICODE_STRING
	AuthenticationPackage LSA_UNICODE_STRING
	LogonType             uint32
	Session               uint32
	Sid                   *windows.SID
	LogonTime             uint64
	LogonServer           LSA_UNICODE_STRING
	DnsDomainName         LSA_UNICODE_STRING
	Upn                   LSA_UNICODE_STRING
	UserFlags             uint32
	LastLogonInfo         LSA_LAST_INTER_LOGON_INFO
	LogonScript           LSA_UNICODE_STRING
	ProfilePath           LSA_UNICODE_STRING
	HomeDirectory         LSA_UNICODE_STRING
	HomeDirectoryDrive    LSA_UNICODE_STRING
	LogoffTime            uint64
	KickOffTime           uint64
	PasswordLastSet       uint64
	PasswordCanChange     uint64
	PasswordMustChange    uint64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL