Beispiel #1
0
 def manager(self):
     """
     The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.)
     """
     return self.properties.get(
         'manager',
         DirectoryObject(self.context,
                         ResourcePath("manager", self.resource_path)))
Beispiel #2
0
 def __getitem__(self, key):
     if type(key) == int:
         return self._data[key]
     return DirectoryObject(self.context,
                            ResourcePath(key, self.resourcePath))
Beispiel #3
0
 def __getitem__(self, key):
     return DirectoryObject(self.context,
                            ResourcePath(key, self.resourcePath))