diff options
| author | Barry Warsaw | 2007-06-10 19:14:10 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2007-06-10 19:14:10 -0400 |
| commit | 2551bc7cac27c268bbfb05b735e223cad02d5c27 (patch) | |
| tree | 2384ff5290ad9dde90d47b30a2f134905b913253 /Mailman/interfaces/user.py | |
| parent | 5bc4941f0b749830d5e4feb57be5f172e77e0631 (diff) | |
| download | mailman-2551bc7cac27c268bbfb05b735e223cad02d5c27.tar.gz mailman-2551bc7cac27c268bbfb05b735e223cad02d5c27.tar.zst mailman-2551bc7cac27c268bbfb05b735e223cad02d5c27.zip | |
Diffstat (limited to 'Mailman/interfaces/user.py')
| -rw-r--r-- | Mailman/interfaces/user.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Mailman/interfaces/user.py b/Mailman/interfaces/user.py index bed1db08d..9e89c2416 100644 --- a/Mailman/interfaces/user.py +++ b/Mailman/interfaces/user.py @@ -36,6 +36,15 @@ class IUser(Interface): addresses = Attribute( """An iterator over all the IAddresses controlled by this user.""") + def register(address): + """Register the given email address and link it to this user. + + In this case, 'address' is a text email address, not an IAddress + object. Raises AddressAlreadyLinkedError if this IAddress is already + linked to another user. If the corresponding IAddress already exists + but is not linked, then it is simply linked to the user. + """ + def link(address): """Link this user to the given IAddress. |
