Part of lp.registry.interfaces.person View In Hierarchy
Known subclasses: lp.registry.interfaces.webservice.IPerson
| Method | canDeactivate | Verify we safely deactivate this user account. |
| Method | preDeactivate | Perform the easy work in deactivating a user. |
| Method | deactivate | Deactivate this person's Launchpad account. |
| Method | reactivate | Reactivate this person and its account. |
| Method | canAccess | True if this person can access the given attribute of the object. |
| Method | canWrite | True if this person can write the given attribute of the object. |
| Returns | A possibly empty list which contains error messages. | |
Deactivate this person's Launchpad account.
| Parameters | comment | An explanation of why the account status changed. |
| validate | Run validation checks. |
Set the account status to ACTIVE, and update the preferred email address.
If the person's name contains a -deactivatedaccount suffix (usually
added by IPerson.deactivate(), it is removed.
| Parameters | comment | An explanation of why the account status changed. |
| preferred_email | The EmailAddress to set as the account's
preferred email address. It cannot be None. |