static void Main(string[] args) { PeopleServiceClient client = new PeopleServiceClient(); client.ClientCredentials.UserName.UserName = "******"; client.ClientCredentials.UserName.Password = "******"; foreach (var person in client.GetPeople()) { Console.WriteLine(person.FirstName); } Console.ReadLine(); }