Testopia:Documentation:XMLRPC:User

From MozillaWiki
Revision as of 22:42, 1 December 2006 by Ghendricks (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to Testopia:Documentation:XMLRPC

User

Description

An object representing a Bugzilla WebService user.

Hiearchy

Bugzilla::WebService::User

Attributes

Attribute Data Type Comments
id integer
login integer
email string
name string
disabledtext string
is_disabled integer
showmybugslink integer


Methods


lookup_id_by_login - Lookup A User ID By Its Login


Usage

User.lookup_id_by_login

Parameters
Parameter Data Type Comments
login string Cannot be null or empty string


Result

The user id for the respective login or 0 if an error occurs.

Example

Perl

$proxy->call('User.lookup_id_by_login', 'user@company.com');



lookup_login_by_id - Lookup A Login By Its ID


Usage

User.lookup_login_by_id

Parameters
Parameter Data Type Comments
id integer Cannot be 0


Result

The user login for the respective id or empty string if an error occurs.

Example

Perl

$proxy->call('User.lookup_login_by_id', 1);




Back to Testopia