AuthenticationHelper ResetPassword Method Kentico 8.0 API Reference
Resets password for user based on his request.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

hash
Type: OnlineSystem String
Request hash (identifier).
requestTime
Type: OnlineSystem String
Request time.
userID
Type: OnlineSystem Int32
User id.
interval
Type: OnlineSystem Double
Interval in which user can reset her password.
newPassword
Type: OnlineSystem String
New password.
source
Type: OnlineSystem String
Source of calling, will be used for log event
sendEmailFrom
Type: OnlineSystem String
Email address of the sender
siteName
Type: OnlineSystem String
Site name.
resolver
Type: CMS.MacroEngine MacroResolver
Macro resolver
success
Type: OnlineSystem Boolean 
Returns whether sending of request was successful.
invalidRequestText
Type: OnlineSystem String
Text returned by this method if request is invalid.
exceededTimeText
Type: OnlineSystem String
Text returned by this method if time request is exceeded.

Return Value

Type: OnlineString
See Also