-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathOperationMoveDomain.h
More file actions
25 lines (18 loc) · 671 Bytes
/
OperationMoveDomain.h
File metadata and controls
25 lines (18 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once
#include "Operation.h"
class OperationMoveDomain final : public Operation
{
// statics used by command registration utility
static std::wstring GetCommand() { return L"MoveDomain"; }
static ClassFactory<OperationMoveDomain> RegisteredFactory;
// operation specific
PSID tSourceDomain = nullptr;
std::wstring sSourceDomain;
PSID tTargetDomain = nullptr;
std::wstring sTargetDomain;
public:
// overrides
SidActionResult DetermineSid(const WCHAR * sSdPart, ObjectEntry & tObjectEntry, PSID tCurrentSid, PSID & tResultantSid) override;
// constructors
OperationMoveDomain(std::queue<std::wstring> & oArgList, const std::wstring & sCommand);
};