getUserContact(master,
contact_type=None,
uid=None)
| source code
|
This is a simple getter function that returns a user attribute that
matches the contact_type argument, or returns None if no uid/match is
found.
- Parameters:
master (BuildMaster instance) - BuildMaster used to query the database
contact_type (string) - type of contact attribute to look for in in a given user, such as
'email' or 'nick'
uid (integer) - user that is searched for the contact_type match
- Returns:
- string of contact information or None via deferred
|