London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Change password for currently logged on user?!?

Vote:
0
Hi do you (in codebehind from an ascx control) change the password for the currently logged on user. The SDK states to use UserSid.SetPassword but I cant even find this method anywhere? //Jocke
#12426
Nov 07, 2005 9:52
Vote:
0
You can change the password for the current logged on user by doing the following: if( UnifiedPrincipal.Current.Identity.IsAuthenticated ) { UserSid user = UserSid.Load(UnifiedPrincipal.CurrentSid); user.SetPassword("newPassword"); } Also, UnifiedPrincipal is in the EPiServer.Security namespace. Regards, Jeremy
#14239
Nov 08, 2005 2:20
Vote:
0
Worked great, Thanks... //Jocke
#14240
Nov 08, 2005 8:41
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.