UserService.ChangePassword Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

ChangePassword(Int32, String, String)

Updates the password for the User.

public static bool ChangePassword(int id, string oldPassword, string newPassword)

Parameters

id
System.Int32
oldPassword
System.String
newPassword
System.String

Returns

System.Boolean

true if the update was successful; otherwise, false.