AI OnAI Off
if( UnifiedPrincipal.Current.Identity.IsAuthenticated )
{
UserSid user = UserSid.Load(UnifiedPrincipal.CurrentSid);
user.SetPassword("newPassword");
}
Also, UnifiedPrincipal is in the EPiServer.Security namespace.
Regards,
Jeremy