C# Класс LazyCopy.Utilities.UserHelper

Contains helper functions to work with the system users.
Показать файл Открыть проект

Открытые методы

Метод Описание
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