WindowsIdentity.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. //
  2. // System.Security.Principal.WindowsIdentity
  3. //
  4. // Authors:
  5. // Gonzalo Paniagua Javier ([email protected])
  6. //
  7. // (C) 2002 Ximian, Inc (http://www.ximian.com)
  8. //
  9. using System;
  10. using System.Runtime.Serialization;
  11. namespace System.Security.Principal
  12. {
  13. [Serializable]
  14. public class WindowsIdentity : IIdentity, IDeserializationCallback
  15. {
  16. public WindowsIdentity (IntPtr userToken)
  17. {
  18. }
  19. [MonoTODO]
  20. public WindowsIdentity (IntPtr userToken, string type)
  21. {
  22. }
  23. [MonoTODO]
  24. public WindowsIdentity (IntPtr userToken, string type, WindowsAccountType acctType)
  25. {
  26. }
  27. [MonoTODO]
  28. public WindowsIdentity (IntPtr userToken,
  29. string type,
  30. WindowsAccountType acctType,
  31. bool isAuthenticated)
  32. {
  33. }
  34. [MonoTODO]
  35. ~WindowsIdentity ()
  36. {
  37. }
  38. [MonoTODO]
  39. public static WindowsIdentity GetAnonymous ()
  40. {
  41. throw new NotImplementedException ();
  42. }
  43. [MonoTODO]
  44. public static WindowsIdentity GetCurrent ()
  45. {
  46. throw new NotImplementedException ();
  47. }
  48. [MonoTODO]
  49. public virtual WindowsImpersonationContext Impersonate ()
  50. {
  51. throw new NotImplementedException ();
  52. }
  53. [MonoTODO]
  54. public static WindowsImpersonationContext Impersonate (IntPtr userToken)
  55. {
  56. throw new NotImplementedException ();
  57. }
  58. [MonoTODO]
  59. public virtual string AuthenticationType
  60. {
  61. get {
  62. throw new NotImplementedException ();
  63. }
  64. }
  65. [MonoTODO]
  66. public virtual bool IsAnonymous
  67. {
  68. get {
  69. throw new NotImplementedException ();
  70. }
  71. }
  72. [MonoTODO]
  73. public virtual bool IsAuthenticated
  74. {
  75. get {
  76. throw new NotImplementedException ();
  77. }
  78. }
  79. [MonoTODO]
  80. public virtual bool IsGuest
  81. {
  82. get {
  83. throw new NotImplementedException ();
  84. }
  85. }
  86. [MonoTODO]
  87. public virtual bool IsSystem
  88. {
  89. get {
  90. throw new NotImplementedException ();
  91. }
  92. }
  93. [MonoTODO]
  94. public virtual string Name
  95. {
  96. get {
  97. throw new NotImplementedException ();
  98. }
  99. }
  100. [MonoTODO]
  101. public virtual IntPtr Token
  102. {
  103. get {
  104. throw new NotImplementedException ();
  105. }
  106. }
  107. [MonoTODO]
  108. void IDeserializationCallback.OnDeserialization (object sender)
  109. {
  110. throw new NotImplementedException ();
  111. }
  112. }
  113. }