Click or drag to resize

UserContextResetPassword Method

Sets the password to null, sets the ForcePasswordChange attribute on the user and (optionally) sends the user a way to reset it via email.

Namespace:  NetQuarry.Security
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public void ResetPassword(
	IAppContext appContext,
	bool sendMail,
	out string resetURL
)

Parameters

appContext
Type: NetQuarryIAppContext
The application context object.
sendMail
Type: SystemBoolean
True to send an email message, otherwise false.
resetURL
Type: SystemString
Set to the URL that can be used to login for the user as a reset.
See Also