Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/14/10 10:51:43 (13 years ago)
Author:
mjesner
Message:

#1196

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UserManagement/HeuristicLab.Services.Authentication.TestClient2/Program.cs

    r4740 r4789  
    55using HeuristicLab.Services.Authentication.DataTransfer;
    66
    7 namespace HeuristicLab.Services.Authentication.TestClient2 {
    8   class Program {
    9     static void Main(string[] args) {
    10 
    11       AuthenticationService auth = new AuthenticationService();
    12 
    13 
    14       Console.WriteLine("Find User with GUID: 0938331f-847e-4361-8ef0-a84e5a8b121c");
    15       Guid userguid = Guid.Parse("0938331f-847e-4361-8ef0-a84e5a8b121c");
    16       User user = auth.GetUser(userguid);
    17 
    18       if (user != null) {
    19         Console.WriteLine("Username of User: {0}", user.Name);
    20       } else {
    21         Console.WriteLine("User not found!");
    22       }
    23 
    24       Console.ReadLine();
    25 
    26 
    27 
     7namespace HeuristicLab.Services.Authentication.TestClient2
     8{
     9    class Program
     10    {
     11        static void Main(string[] args)
     12        {
     13            System.Windows.Forms.Application.Run(new UserManagement());
     14        }
    2815    }
    29   }
    3016}
Note: See TracChangeset for help on using the changeset viewer.