C# Class LazyCopy.Utilities.UserHelper

Contains helper functions to work with the system users.
Afficher le fichier Open project: aleksk/LazyCopy

Méthodes publiques

Méthode Description
ImpersonateCurrentUser ( ) : System.Security.Principal.WindowsImpersonationContext

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

Private Methods

Méthode Description
GetCurrentUser ( ) : string
GetIdleTime ( ) : System.TimeSpan
GetLastInputTime ( ) : System.DateTime

Method Details

ImpersonateCurrentUser() public static méthode

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