summaryrefslogtreecommitdiffstats
path: root/lib/icinga/usergroup.ti
blob: e955c5e5ed13c1b4b01130cef5ff3b657599b330 (plain)
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
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

#include "icinga/customvarobject.hpp"

library icinga;

namespace icinga
{

class UserGroup : CustomVarObject
{
	[config] String display_name {
		get {{{
			String displayName = m_DisplayName.load();
			if (displayName.IsEmpty())
				return GetName();
			else
				return displayName;
		}}}
	};

	[config, no_user_modify] array(name(UserGroup)) groups;
};

}