ActiveDirectoryMembershipProvider.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. //
  2. // System.Web.Security.ActiveDirectoryMembershipProvider
  3. //
  4. // Authors:
  5. // Ben Maurer ([email protected])
  6. // Lluis Sanchez Gual ([email protected])
  7. //
  8. // (C) 2003 Ben Maurer
  9. //
  10. //
  11. // Permission is hereby granted, free of charge, to any person obtaining
  12. // a copy of this software and associated documentation files (the
  13. // "Software"), to deal in the Software without restriction, including
  14. // without limitation the rights to use, copy, modify, merge, publish,
  15. // distribute, sublicense, and/or sell copies of the Software, and to
  16. // permit persons to whom the Software is furnished to do so, subject to
  17. // the following conditions:
  18. //
  19. // The above copyright notice and this permission notice shall be
  20. // included in all copies or substantial portions of the Software.
  21. //
  22. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  23. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  24. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  25. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  26. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  27. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  28. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  29. //
  30. #if NET_2_0
  31. using System.Collections;
  32. using System.Collections.Specialized;
  33. using System.Text;
  34. namespace System.Web.Security {
  35. public class ActiveDirectoryMembershipProvider : MembershipProvider {
  36. [MonoTODO]
  37. public override bool ChangePassword (string username, string oldPwd, string newPwd)
  38. {
  39. throw new NotImplementedException ();
  40. }
  41. [MonoTODO]
  42. public override bool ChangePasswordQuestionAndAnswer (string username, string password, string newPwdQuestion, string newPwdAnswer)
  43. {
  44. throw new NotImplementedException ();
  45. }
  46. [MonoTODO]
  47. public override MembershipUser CreateUser (string username, string password, string email, string pwdQuestion, string pwdAnswer, bool isApproved, out MembershipCreateStatus status)
  48. {
  49. throw new NotImplementedException ();
  50. }
  51. [MonoTODO]
  52. public override bool DeleteUser (string username, bool deleteAllRelatedData)
  53. {
  54. throw new NotImplementedException ();
  55. }
  56. [MonoTODO]
  57. public virtual string GeneratePassword ()
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. [MonoTODO]
  62. public override MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords)
  63. {
  64. throw new NotImplementedException ();
  65. }
  66. [MonoTODO]
  67. public override MembershipUserCollection FindUsersByName (string nameToMatch, int pageIndex, int pageSize, out int totalRecords)
  68. {
  69. throw new NotImplementedException ();
  70. }
  71. [MonoTODO]
  72. public override MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords)
  73. {
  74. throw new NotImplementedException ();
  75. }
  76. [MonoTODO]
  77. public override int GetNumberOfUsersOnline ()
  78. {
  79. throw new NotImplementedException ();
  80. }
  81. [MonoTODO]
  82. public override string GetPassword (string username, string answer)
  83. {
  84. throw new NotImplementedException ();
  85. }
  86. [MonoTODO]
  87. public override MembershipUser GetUser (string username, bool userIsOnline)
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. [MonoTODO]
  92. public override string GetUserNameByEmail (string email)
  93. {
  94. throw new NotImplementedException ();
  95. }
  96. [MonoTODO]
  97. public override void Initialize (string name, NameValueCollection config)
  98. {
  99. throw new NotImplementedException ();
  100. }
  101. [MonoTODO]
  102. public override string ResetPassword (string username, string answer)
  103. {
  104. throw new NotImplementedException ();
  105. }
  106. [MonoTODO]
  107. public override void UpdateUser (MembershipUser user)
  108. {
  109. throw new NotImplementedException ();
  110. }
  111. [MonoTODO]
  112. public override bool ValidateUser (string username, string password)
  113. {
  114. throw new NotImplementedException ();
  115. }
  116. [MonoTODO]
  117. public override string ApplicationName {
  118. get { throw new NotImplementedException (); }
  119. set { throw new NotImplementedException (); }
  120. }
  121. [MonoTODO]
  122. public virtual string Description {
  123. get { throw new NotImplementedException (); }
  124. }
  125. [MonoTODO]
  126. public override bool EnablePasswordReset {
  127. get { throw new NotImplementedException (); }
  128. }
  129. [MonoTODO]
  130. public override bool EnablePasswordRetrieval {
  131. get { throw new NotImplementedException (); }
  132. }
  133. [MonoTODO]
  134. public virtual MembershipPasswordFormat PasswordFormat {
  135. get { throw new NotImplementedException (); }
  136. }
  137. [MonoTODO]
  138. public override bool RequiresQuestionAndAnswer {
  139. get { throw new NotImplementedException (); }
  140. }
  141. [MonoTODO]
  142. public virtual bool RequiresUniqueEmail {
  143. get { throw new NotImplementedException (); }
  144. }
  145. }
  146. }
  147. #endif