- Timestamp:
- 11/14/10 10:51:43 (14 years ago)
- 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 37 37 <Reference Include="System" /> 38 38 <Reference Include="System.Core" /> 39 <Reference Include="System.Drawing" /> 40 <Reference Include="System.Windows.Forms" /> 39 41 <Reference Include="System.Xml.Linq" /> 40 42 <Reference Include="System.Data.DataSetExtensions" /> … … 46 48 <Compile Include="Program.cs" /> 47 49 <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> 48 56 </ItemGroup> 49 57 <ItemGroup> … … 53 61 </ProjectReference> 54 62 <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> 56 64 <Name>HeuristicLab.Services.Authentication</Name> 57 65 </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" /> 58 76 </ItemGroup> 59 77 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
branches/UserManagement/HeuristicLab.Services.Authentication.TestClient2/Program.cs
r4740 r4789 5 5 using HeuristicLab.Services.Authentication.DataTransfer; 6 6 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 7 namespace 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 } 28 15 } 29 }30 16 }
Note: See TracChangeset
for help on using the changeset viewer.