Changeset 4013
- Timestamp:
- 07/07/10 22:00:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Services.Authentication Prototype/Service/Provider/HeuristicLabMembershipProvider.cs
r4009 r4013 78 78 #endregion 79 79 80 /// <summary> 81 /// this is the methode to initialize all important and needed 82 /// variables and settings 83 /// The most settings will be read from the web.config 84 /// </summary> 85 /// <param name="name"></param> 86 /// <param name="config"></param> 87 /// <returns></returns> 88 80 89 public override void Initialize(string name, NameValueCollection config) { 81 90 // … … 126 135 } 127 136 137 138 /// <summary> 139 /// this mehtode change the password of an existent user 140 /// the methode look for db connection and connect to 141 /// such db if it possible 142 /// Also neccessary requirements of password complexity is used 143 /// by this methode 144 /// </summary> 145 /// <param name="username"></param> 146 /// <param name="oldPassword"></param> 147 /// <param name="newPassword"></param> 148 /// <returns> 149 /// return true if password is changed, or false if it is not able 150 /// to set the password 151 /// </returns> 128 152 public override bool ChangePassword(string username, string oldPassword, string newPassword) { 129 153 using (DataClassesDataContext db = DatabaseUtil.createDataClassesDataContext()) {
Note: See TracChangeset
for help on using the changeset viewer.