Public Member Functions | List of all members
AppSecInc::LSA::ProcessToken Class Reference

A process token. More...

#include <ProcessToken.h>

Public Member Functions

 ProcessToken ()
 
virtual ~ProcessToken ()
 
void Open (HANDLE hProc, DWORD access=TOKEN_ALL_ACCESS)
 open a process token handle More...
 
void Close ()
 close a process token handle More...
 
bool IsOpen () const
 returns true if process token handle is open More...
 
HANDLE GetHandle () const
 returns the process handle More...
 
void AdjustPrivilege (const std::wstring &privilege, DWORD type=SE_PRIVILEGE_ENABLED)
 adjust a process token privilege More...
 

Detailed Description

A process token.

Constructor & Destructor Documentation

ProcessToken::ProcessToken ( )
ProcessToken::~ProcessToken ( )
virtual

Member Function Documentation

void ProcessToken::AdjustPrivilege ( const std::wstring &  privilege,
DWORD  type = SE_PRIVILEGE_ENABLED 
)

adjust a process token privilege

void ProcessToken::Close ( )

close a process token handle

HANDLE AppSecInc::LSA::ProcessToken::GetHandle ( ) const
inline

returns the process handle

bool AppSecInc::LSA::ProcessToken::IsOpen ( ) const
inline

returns true if process token handle is open

void ProcessToken::Open ( HANDLE  hProc,
DWORD  access = TOKEN_ALL_ACCESS 
)

open a process token handle


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


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