16 void Open(
const std::wstring& computer_name,
17 LSA_OBJECT_ATTRIBUTES attr,
18 DWORD access = POLICY_ALL_ACCESS);
20 void Open(DWORD access = POLICY_ALL_ACCESS);
24 bool IsOpen()
const {
return m_hPolicy != NULL; }
void Close()
close a previously opened LSA policy object
Definition: LSAPolicy.cpp:20
LSA_HANDLE GetHandle() const
return the policy handle
Definition: LSAPolicy.h:26
bool IsOpen() const
returns true if policy is already open
Definition: LSAPolicy.h:24
void Open(const std::wstring &computer_name, LSA_OBJECT_ATTRIBUTES attr, DWORD access=POLICY_ALL_ACCESS)
open the LSA policy object on a computer
Definition: LSAPolicy.cpp:34
LSAPolicy()
Definition: LSAPolicy.cpp:7
virtual ~LSAPolicy()
Definition: LSAPolicy.cpp:12
LSA policy object.
Definition: LSAPolicy.h:8