reset and change password
used by admin/host users who do not need to supply an "old" password
Namespace: DotNetNuke.Entities.UsersAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static bool ResetAndChangePassword( UserInfo user, string newPassword ) |
Visual Basic |
---|
Public Shared Function ResetAndChangePassword ( user As UserInfo, newPassword As String ) As Boolean |
Parameters
- user
- Type: DotNetNuke.Entities.Users..::..UserInfo
user being changed
- newPassword
- Type: System..::..String
new password