-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathADGroup.h
41 lines (36 loc) · 838 Bytes
/
ADGroup.h
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include "StdAfx.h"
#include <vector>
using namespace std;
#include "ADObject.h"
class ADDomain;
class ADUser;
class ADDotReader;
class CMyShape;
class ADGroup : public ADObject
{
DECLARE_SERIAL(ADGroup)
public:
CString cn;
CString dn;
ADDomain* domain;
CString type;
vector<CString> groupMembers;
vector<ADGroup*> childGroups;
vector<ADUser*> childUsers;
vector<ADGroup*> fathers;
CPoint ptGUI;
CMyShape *shape;
public:
ADGroup();
void Serialize(CArchive &ar);
ADGroup(CString a_cn, CString a_dn, ADDomain* a_domain, CString a_type);
CString itos(int i);
void addChildGroup(ADGroup* group);
void addChildUser(ADUser* user);
void addFather(ADGroup* group);
CString Node2String();
CString Edge2String();
void parseGUIData(ADDotReader *reader);
void generateLink(ADDotReader *reader);
void addToProperties();
};