c.l.i.a.IAccountSpecialRestricted(Interface) : interface documentation

Part of canonical.launchpad.interfaces.account View In Hierarchy

Known subclasses: canonical.launchpad.interfaces.account.IAccount

Attributes of IAccount protected with launchpad.Special.
Datetime date_status_set Undocumented
Text status_comment Undocumented
Method activate Activate this account.
Method reactivate Reactivate this account.
date_status_set =
Undocumented
status_comment =
Undocumented
def activate(comment, password, preferred_email):
Activate this account.

Set the account status to ACTIVE, the account's password to the given one and its preferred email address.

ParameterscommentAn explanation of why the account status changed.
passwordThe user's password.
preferred_emailThe EmailAddress to set as the account's preferred email address. It cannot be None.
def reactivate(comment, password, preferred_email):
Reactivate this account.

Just like IAccountSpecialRestricted.activate() above, but here the password can't be None or the empty string.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.