Change password for currently logged on user?!?

Vote:
 
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:
 
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:
 
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.