C# 클래스 LazyCopy.Utilities.UserHelper

Contains helper functions to work with the system users.
파일 보기 프로젝트 열기: aleksk/LazyCopy

공개 메소드들

메소드 설명
ImpersonateCurrentUser ( ) : System.Security.Principal.WindowsImpersonationContext

Impersonates the currently logged on user in the current thread context.

비공개 메소드들

메소드 설명
GetCurrentUser ( ) : string
GetIdleTime ( ) : System.TimeSpan
GetLastInputTime ( ) : System.DateTime

메소드 상세

ImpersonateCurrentUser() 공개 정적인 메소드

Impersonates the currently logged on user in the current thread context.
public static ImpersonateCurrentUser ( ) : System.Security.Principal.WindowsImpersonationContext
리턴 System.Security.Principal.WindowsImpersonationContext