2 // System.Web.Security.ActiveDirectoryMembershipProvider
5 // Ben Maurer (bmaurer@users.sourceforge.net)
6 // Lluis Sanchez Gual (lluis@novell.com)
12 // Permission is hereby granted, free of charge, to any person obtaining
13 // a copy of this software and associated documentation files (the
14 // "Software"), to deal in the Software without restriction, including
15 // without limitation the rights to use, copy, modify, merge, publish,
16 // distribute, sublicense, and/or sell copies of the Software, and to
17 // permit persons to whom the Software is furnished to do so, subject to
18 // the following conditions:
20 // The above copyright notice and this permission notice shall be
21 // included in all copies or substantial portions of the Software.
23 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33 using System.Collections;
34 using System.Collections.Specialized;
37 namespace System.Web.Security {
38 public class ActiveDirectoryMembershipProvider : MembershipProvider {
41 public override bool ChangePassword (string username, string oldPwd, string newPwd)
43 throw new NotImplementedException ();
47 public override bool ChangePasswordQuestionAndAnswer (string username, string password, string newPwdQuestion, string newPwdAnswer)
49 throw new NotImplementedException ();
53 public override MembershipUser CreateUser (string username, string password, string email, string pwdQuestion, string pwdAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
55 throw new NotImplementedException ();
59 public override bool DeleteUser (string username, bool deleteAllRelatedData)
61 throw new NotImplementedException ();
65 public virtual string GeneratePassword ()
67 throw new NotImplementedException ();
71 public override MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords)
73 throw new NotImplementedException ();
77 public override MembershipUserCollection FindUsersByName (string nameToMatch, int pageIndex, int pageSize, out int totalRecords)
79 throw new NotImplementedException ();
83 public override MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords)
85 throw new NotImplementedException ();
89 public override int GetNumberOfUsersOnline ()
91 throw new NotImplementedException ();
95 public override string GetPassword (string username, string answer)
97 throw new NotImplementedException ();
101 public override MembershipUser GetUser (string username, bool userIsOnline)
103 throw new NotImplementedException ();
107 public override MembershipUser GetUser (object providerUserKey, bool userIsOnline)
109 throw new NotImplementedException ();
113 public override string GetUserNameByEmail (string email)
115 throw new NotImplementedException ();
119 public override void Initialize (string name, NameValueCollection config)
121 throw new NotImplementedException ();
125 public override string ResetPassword (string username, string answer)
127 throw new NotImplementedException ();
131 public override void UpdateUser (MembershipUser user)
133 throw new NotImplementedException ();
137 public override bool ValidateUser (string username, string password)
139 throw new NotImplementedException ();
143 public override bool UnlockUser (string userName)
145 throw new NotImplementedException ();
149 public override string ApplicationName {
150 get { throw new NotImplementedException (); }
151 set { throw new NotImplementedException (); }
155 public virtual string Description {
156 get { throw new NotImplementedException (); }
160 public override bool EnablePasswordReset {
161 get { throw new NotImplementedException (); }
165 public override bool EnablePasswordRetrieval {
166 get { throw new NotImplementedException (); }
170 public override MembershipPasswordFormat PasswordFormat {
171 get { throw new NotImplementedException (); }
175 public override bool RequiresQuestionAndAnswer {
176 get { throw new NotImplementedException (); }
180 public override bool RequiresUniqueEmail {
181 get { throw new NotImplementedException (); }
185 public override int MaxInvalidPasswordAttempts {
186 get { throw new NotImplementedException (); }
190 public override int MinRequiredNonAlphanumericCharacters {
191 get { throw new NotImplementedException (); }
195 public override int MinRequiredPasswordLength {
196 get { throw new NotImplementedException (); }
200 public override int PasswordAttemptWindow {
201 get { throw new NotImplementedException (); }
205 public override string PasswordStrengthRegularExpression {
206 get { throw new NotImplementedException (); }