C# Class Zazzles.UserComponents.WindowsUser

Inheritance: IUser
Mostrar archivo Open project: FOGProject/zazzles

Public Methods

Method Description
GetInactivityTime ( ) : int
GetUsersLoggedIn ( ) : List

Private Methods

Method Description
GetLastInputInfo ( Lastinputinfo &plii ) : bool
GetSessionIds ( ) : List

Get all active session IDs

GetUserNameFromSessionId ( int sessionId, bool prependDomain ) : string

Convert a session ID to its correlating username

WTSFreeMemory ( IntPtr pointer ) : void
WTSQuerySessionInformation ( IntPtr hServer, int sessionId, WtsInfoClass wtsInfoClass, IntPtr &ppBuffer, int &pBytesReturned ) : bool

Method Details

GetInactivityTime() public method

public GetInactivityTime ( ) : int
return int

GetUsersLoggedIn() public method

public GetUsersLoggedIn ( ) : List
return List