How to get Screen Name By providing UserID

Oct 11, 2012 at 2:09 PM

I am using following queries to get UserInfo, One of the options available is ScreenName. However, ScreenName is null for all UserIDs. 

 

var User_Info = from user in pubTweetCtx.User
where user.Type == UserType.Search && user.UserID == q.IDs[i]
select user;

var User_Names = from user in pubTweetCtx.User
where user.Type == UserType.Lookup && user.UserID == User_IDs
select user;