-# $Id$
-# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Persons import Person, Persons
from PLC.Sites import Site, Sites
from PLC.Auth import Auth
-from PLC.SFA import SFA
class AddPersonToSite(Method):
"""
self.message = 'Person %d added to site %d' % \
(person['person_id'], site['site_id'])
- sfa = SFA(self.api)
- sfa.update_record(person, 'user')
-
return 1