Ignore:
Timestamp:
28 Nov 2011, 21:04:57 (13 years ago)
Author:
Henrik Bettermann
Message:

Implement SIRPPrincipalInfo and SIRPPrincipal classes which provide ordinary principals with an extra email and phone attribute.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/userscontainer.py

    r7221 r7233  
    3232
    3333    def addUser(self, name, password, title=None,
    34                 description=None, email=None, roles=[]):
     34                description=None, email=None, phone=None, roles=[]):
    3535        """Add a new Account instance, created from parameters.
    3636        """
     
    3939        #if description is None:
    4040        #    description = title
    41         self[name] = Account(name, password, title, description, email, roles)
     41        self[name] = Account(name, password, title, description,
     42                             email, phone, roles)
    4243
    4344    def addAccount(self, account):
Note: See TracChangeset for help on using the changeset viewer.