Public Member Functions

AppSecInc::LSA::ImpersonatedUser Class Reference

This class lets the calling thread manage the impersonated security context of a logged-on user. More...

#include <ImpersonatedUser.h>

Inheritance diagram for AppSecInc::LSA::ImpersonatedUser:
AppSecInc::LSA::LoggedOnUser

List of all members.

Public Member Functions

 ImpersonatedUser ()
virtual ~ImpersonatedUser ()
void Impersonate ()
 impersonate the logged-on user
void RevertToSelf ()
 revert to the prior security context of the currently impersonated thread
bool IsImpersonated () const
 returns true if the user is impersonated

Detailed Description

This class lets the calling thread manage the impersonated security context of a logged-on user.


Constructor & Destructor Documentation

ImpersonatedUser::ImpersonatedUser ( )
ImpersonatedUser::~ImpersonatedUser ( ) [virtual]

Member Function Documentation

void ImpersonatedUser::Impersonate ( )

impersonate the logged-on user

bool AppSecInc::LSA::ImpersonatedUser::IsImpersonated ( ) const [inline]

returns true if the user is impersonated

void ImpersonatedUser::RevertToSelf ( )

revert to the prior security context of the currently impersonated thread


The documentation for this class was generated from the following files:


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com