igetlocalusers.py 667 Bytes
Newer Older
Dmitry Volodin's avatar
Dmitry Volodin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## IGetUsers interface
##----------------------------------------------------------------------
## Copyright (C) 2007-2009 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
"""
"""
from base import *

##
## Commonly accepted classes are:
## superuser, operator
## 
##
class IGetLocalUsers(Interface):
    returns=ListOfParameter(element=DictParameter(attrs={
        "username" : StringParameter(),
        "class"    : StringParameter(),
        "is_active": BooleanParameter(default=True),
        }))