Part of canonical.launchpad.interfaces.account View In Hierarchy
Known implementations: canonical.launchpad.database.account.AccountSet
IAccount providers.| Method | new | Create a new IAccount. |
| Method | get | Return the IAccount with the given id. |
| Method | createAccountAndEmail | Create and return both a new IAccount and IEmailAddress. |
| Method | getByEmail | Return the IAccount linked to the given email address. |
| Method | getByOpenIDIdentifier | Return the IAccount with the given OpenID identifier. |
IAccount.| Parameters | rationale | An AccountCreationRationale value. |
| displayname | The user's display name. | |
| password | A password. | |
| password_is_encrypted | If True, the password parameter has
already been encrypted using the IPasswordEncryptor utility.
If False, the password will be encrypted automatically. | |
| Returns | The newly created IAccount provider. | |
IAccount and IEmailAddress.
The account will be in the ACTIVE state, with the email address set as its preferred email address.
IAccount linked to the given email address.| Parameters | A string, not an IEmailAddress provider. | |
| Returns | An IAccount. | |
| Raises | LookupError | If the account is not found. |