testopia.API
Class User

java.lang.Object
  extended by testopia.API.User

public class User
extends java.lang.Object

Author:
anelson, bstice Retrives the user ID for the inputed email

Constructor Summary
User(java.lang.String userName, java.lang.String password, java.lang.String login, java.net.URL url)
           
 
Method Summary
 int getAttributes()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User(java.lang.String userName,
            java.lang.String password,
            java.lang.String login,
            java.net.URL url)
Parameters:
userName - - your testopia/bugzilla username
password - - the password for your account
login - - the user you want attributes returned for
url - - the url of the testopia server
Method Detail

getAttributes

public int getAttributes()
Returns:
the user_id for the specified login. Returns 0 if there is an error and the user ID cannot be returned