blob: 4e420173012754fa303e8fb4368ca01fad4a7d4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
//
// System.Web.Security.IMembershipProvider
//
// Authors:
// Ben Maurer (bmaurer@users.sourceforge.net)
//
// (C) 2003 Ben Maurer
//
#if NET_2_0
using System.Configuration.Provider;
namespace System.Web.Security {
public interface IMembershipProvider : IProvider {
bool ChangePassword (string name, string oldPwd, string newPwd);
bool ChangePasswordQuestionAndAnswer (string name, string password, string newPwdQuestion, string newPwdAnswer);
MembershipUser CreateUser (string username, string password, string email, out MembershipCreateStatus status);
bool DeleteUser (string name);
MembershipUserCollection GetAllUsers ();
int GetNumberOfUsersOnline ();
string GetPassword (string name, string answer);
MembershipUser GetUser (string name, bool userIsOnline);
string GetUserNameByEmail (string email);
string ResetPassword (string name, string answer);
void UpdateUser (MembershipUser user);
bool ValidateUser (string name, string password);
string ApplicationName { get; set; }
bool EnablePasswordReset { get; }
bool EnablePasswordRetrieval { get; }
bool RequiresQuestionAndAnswer { get; }
}
}
#endif
|