Public Member Functions

AppSecInc::LSA::ProcessToken Class Reference

A process token. More...

#include <ProcessToken.h>

List of all members.

Public Member Functions

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

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