2 // System.Web.Security.SqlMembershipProvider
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 SqlMembershipProvider : 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, 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 string GetUserNameByEmail (string email)
109 throw new NotImplementedException ();
113 public override void Initialize (string name, NameValueCollection config)
115 throw new NotImplementedException ();
119 public override string ResetPassword (string username, string answer)
121 throw new NotImplementedException ();
125 public override void UpdateUser (MembershipUser user)
127 throw new NotImplementedException ();
131 public override bool ValidateUser (string username, string password)
133 throw new NotImplementedException ();
137 public override string ApplicationName {
138 get { throw new NotImplementedException (); }
139 set { throw new NotImplementedException (); }
143 public virtual string Description {
144 get { throw new NotImplementedException (); }
148 public override bool EnablePasswordReset {
149 get { throw new NotImplementedException (); }
153 public override bool EnablePasswordRetrieval {
154 get { throw new NotImplementedException (); }
158 public virtual MembershipPasswordFormat PasswordFormat {
159 get { throw new NotImplementedException (); }
163 public override bool RequiresQuestionAndAnswer {
164 get { throw new NotImplementedException (); }
168 public virtual bool RequiresUniqueEmail {
169 get { throw new NotImplementedException (); }