Free cookie consent management tool by TermsFeed Policy Generator

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

#1196

Location:
branches/UserManagement/HeuristicLab.Services.Authentication.TestClient2
Files:
7 added
2 edited

Legend:

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

    r4740 r4789  
    3737    <Reference Include="System" />
    3838    <Reference Include="System.Core" />
     39    <Reference Include="System.Drawing" />
     40    <Reference Include="System.Windows.Forms" />
    3941    <Reference Include="System.Xml.Linq" />
    4042    <Reference Include="System.Data.DataSetExtensions" />
     
    4648    <Compile Include="Program.cs" />
    4749    <Compile Include="Properties\AssemblyInfo.cs" />
     50    <Compile Include="UserManagement.cs">
     51      <SubType>Form</SubType>
     52    </Compile>
     53    <Compile Include="UserManagement.Designer.cs">
     54      <DependentUpon>UserManagement.cs</DependentUpon>
     55    </Compile>
    4856  </ItemGroup>
    4957  <ItemGroup>
     
    5361    </ProjectReference>
    5462    <ProjectReference Include="..\HeuristicLab.Services.Authentication\HeuristicLab.Services.Authentication.csproj">
    55       <Project>{FF763830-EE9B-4FF7-9A55-4E2552E20C9A}</Project>
     63      <Project>{9FD3F26D-B051-4F4C-9C66-4A361EE357AD}</Project>
    5664      <Name>HeuristicLab.Services.Authentication</Name>
    5765    </ProjectReference>
     66  </ItemGroup>
     67  <ItemGroup>
     68    <EmbeddedResource Include="UserManagement.resx">
     69      <DependentUpon>UserManagement.cs</DependentUpon>
     70    </EmbeddedResource>
     71  </ItemGroup>
     72  <ItemGroup>
     73    <None Include="Properties\DataSources\HeuristicLab.Services.Authentication.DataTransfer.Application.datasource" />
     74    <None Include="Properties\DataSources\HeuristicLab.Services.Authentication.DataTransfer.Role.datasource" />
     75    <None Include="Properties\DataSources\HeuristicLab.Services.Authentication.DataTransfer.User.datasource" />
    5876  </ItemGroup>
    5977  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  • 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.