in order to prepopulate some user information, i used query to search the sharepoint list. my question is how to search loggin user's info in the list.
i used following testing query function. it works fine. however, it can only search specific text, cannot be changed according different user.
IsExist = SPContext.Current.Web.Lists["somelist"];
SPQuery query = new SPQuery();
query.Query = @"
SPListItemCollection found = IsExist.GetItems(query);
View Complete Post