ChangePassword attempts to change the users password

Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static bool ChangePassword(
	UserInfo user,
	string oldPassword,
	string newPassword
)
Visual Basic
Public Shared Function ChangePassword ( 
	user As UserInfo,
	oldPassword As String,
	newPassword As String
) As Boolean

Parameters

user
Type: DotNetNuke.Entities.Users..::..UserInfo
The user to update.
oldPassword
Type: System..::..String
The old password.
newPassword
Type: System..::..String
The new password.

Return Value

A Boolean indicating success or failure.

Remarks