Changeset 4014
- Timestamp:
- 07/07/10 22:30:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Services.Authentication Prototype/Service/Provider/HeuristicLabMembershipProvider.cs
r4013 r4014 180 180 } 181 181 182 /// <summary> 183 /// change the password questionandanswer for specified user 184 /// 185 /// </summary> 186 /// <param name="username"></param> 187 /// <param name="password"></param> 188 /// <param name="newPasswordQuestion"></param> 189 /// <param name="newPasswordAnswer"></param> 190 /// <returns> 191 /// return true if changes are submitted 192 /// false if are no user found 193 /// </returns> 182 194 public override bool ChangePasswordQuestionAndAnswer(string username, string password, string newPasswordQuestion, string newPasswordAnswer) { 183 195 using (DataClassesDataContext db = DatabaseUtil.createDataClassesDataContext()) { … … 196 208 } 197 209 210 /// <summary> 211 /// create a new user with username, password 212 /// email, passwordquestion, passwordAnswer, 213 /// Approvedstate, whether is providerUserKey and certain creation MembershipCreateStatus status 214 /// </summary> 215 /// <param name="username"></param> 216 /// <param name="password"></param> 217 /// <param name="email"></param> 218 /// <param name="passwordQuestion"></param> 219 /// <param name="passwordAnswer"></param> 220 /// <param name="providerUserKey"></param> 221 /// <param name="isApproved"></param> 222 /// <param name="status"></param> 223 /// <returns> 224 /// return a created user if there is no error occoured 225 /// return null if there is an error occoured 226 /// </returns> 198 227 public override MembershipUser CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status) { 199 228 using (DataClassesDataContext db = DatabaseUtil.createDataClassesDataContext()) {
Note: See TracChangeset
for help on using the changeset viewer.