CSharp_Security_Explain.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <HTML>
  2. <HEAD>
  3. <!--
  4. Licensed Materials - Property of IBM
  5. IBM Cognos Products: DOCS
  6. (C) Copyright IBM Corp. 2005, 2008
  7. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
  8. IBM Corp.
  9. -->
  10. <TITLE>IBM Cognos Software Development Kit C# security Program Sample</TITLE>
  11. <link rel="STYLESHEET" type="text/css" href="../../../webcontent/samples/samplesFonts.css">
  12. </HEAD>
  13. <BODY>
  14. <p class="headerTitle"><img src="../../../webcontent/samples/sdk/asp/images/go_logo_small.gif">&nbsp;IBM Cognos Sample Programs</p>
  15. <p class="FormLabel">security.sln - Logon, Logoff, and Diplay Login Information </p>
  16. <p class="formText">The C# security sample program shows how to logon, logoff, and display login information.</p>
  17. <br>
  18. <!-- * * * * * * * * * -->
  19. <!-- -->
  20. <!-- Dependent Files -->
  21. <!-- -->
  22. <!-- * * * * * * * * * -->
  23. <p class="FormLabel">Dependent Files</p>
  24. <p class="formText">All associated files are contained in the security folder.</p>
  25. <!-- * * * * * * * * * -->
  26. <!-- -->
  27. <!-- How To Run -->
  28. <!-- -->
  29. <!-- * * * * * * * * * -->
  30. <p class="FormLabel">How To Run The Sample Program</p>
  31. <p class="formText">Double click on the file ..\csharp\bin\security.exe<br><br>
  32. A window will be opened containing:<br>
  33. &nbsp;&nbsp;&nbsp;&nbsp;- Run Option command button<br>
  34. &nbsp;&nbsp;&nbsp;&nbsp;- Select Option combo box<br>
  35. &nbsp;&nbsp;&nbsp;&nbsp;- URL text box<br>
  36. &nbsp;&nbsp;&nbsp;&nbsp;- Results Display Window <br>
  37. Choose an option from the 'Choose Option' combo box, then click on the 'Run Option' button to run the sample program.</p>
  38. <!-- * * * * * * * * * -->
  39. <!-- -->
  40. <!-- Expected Results -->
  41. <!-- -->
  42. <!-- * * * * * * * * * -->
  43. <p class="FormLabel">Expected Results</p>
  44. <p class="formText">If security is enabled, the user will be prompted to logon, otherwise Anonymous authentication will be used.
  45. If the 'Get Logon Info' option is selected from the 'Choose Option' combo box, the Results Display Window will display the current logon information.
  46. If the 'Logoff' option is selected, the user will be logged out of the program.</p>
  47. <!-- * * * * * * * * * -->
  48. <!-- -->
  49. <!-- Documentation -->
  50. <!-- -->
  51. <!-- * * * * * * * * * -->
  52. <p class="FormLabel">Documentation</p>
  53. <p class="formText">The IBM Cognos Software Development Kit Developer Guide contains additional information about the samples. See the chapter titled 'Methods' and the appendix titled 'Code Samples and Language-Specific Coding Practices'.</p>
  54. <p class="formText">Please note that the samples are not intended to be treated as end-user applications. Refer to the sample code for examples of how to use the API when developing your own applications.</p>
  55. </BODY>
  56. </HTML>