using System; using System.Collections.Generic; using System.Linq; using System.Text; using HeuristicLab.Services.Authentication.ServiceClient; namespace HeuristicLab.Services.Authentication.ServiceClients { public class AuthenticationClient { private static AuthenticationClient instance; public static AuthenticationClient Instance { get { if (instance == null) instance = new AuthenticationClient(); return instance; } } #region properties public void createconnection() { AuthenticationServiceClient service = new AuthenticationServiceClient(); IList users = service.GetUsers(new Guid("a3961e10 - 0691 - 4e6d - aede - fd838c3a929a")); foreach (User u in users) { Console.WriteLine(u.ToString()); } } #endregion public static void Main() { AuthenticationClient auth = new AuthenticationClient(); auth.createconnection(); } } }