Changes between Version 7 and Version 8 of TeamRosterPlugin


Ignore:
Timestamp:
Oct 31, 2007, 1:02:58 PM (7 years ago)
Author:
cbalan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TeamRosterPlugin

    v7 v8  
    4444
    4545# Search users ( Dummy example: All active developers that have an gmail account )
    46 search_result_list = UserProfilesSystem.search_userProfile( UserProfile( role="developer", email="%gmail.com", enabled=1 ) )
     46search_result_list = UserProfilesSystem(env).search_userProfile( UserProfile( role="developer", email="%gmail.com", enabled=1 ) )
    4747
    4848# Add user Profile
    49 UserProfilesSystem.add_userProfile(UserProfile(id="jfoo", name="John Foo", email="jfoo@asd.org", role="developer"))
     49UserProfilesSystem(env).add_userProfile(UserProfile(id="jfoo", name="John Foo", email="jfoo@asd.org", role="developer"))
    5050
    5151# Update