used, otherwise defaults are used.
Accounts are disabled by default. To enable an account, use
- SetPersonEnabled() or UpdatePerson().
+ UpdatePerson().
Returns the new person_id (> 0) if successful, faults otherwise.
"""
def call(self, auth, person_fields):
person_fields = dict(filter(can_update, person_fields.items()))
+ person_fields['enabled'] = False
person = Person(self.api, person_fields)
person.sync()