Checkout the API documentation, especially http://apiwiki.twitter.com/REST+API+Documentation#UserMethods
Thanks; — Matt