embed svn Id keyword
[plcapi.git] / PLC / Methods / GetRoles.py
index ba15ee1..a5d1c59 100644 (file)
@@ -1,3 +1,4 @@
+# $Id#
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -9,7 +10,7 @@ class GetRoles(Method):
     Get an array of structs containing details about all roles.
     """
 
-    roles = ['admin', 'pi', 'user', 'tech']
+    roles = ['admin', 'pi', 'user', 'tech', 'node']
 
     accepts = [
         Auth()
@@ -17,8 +18,5 @@ class GetRoles(Method):
 
     returns = [Role.fields]
     
-    event_type = 'Get'
-    object_type = 'Role'
-
     def call(self, auth):
        return Roles(self.api)