DatabaseAuthenticationProviderResetPassword 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 override void ResetPassword(
IAppContext appContext,
UserContext uc,
bool sendMail,
out string resetURL
)
Public Overrides Sub ResetPassword (
appContext As IAppContext,
uc As UserContext,
sendMail As Boolean,
<OutAttribute> ByRef resetURL As String
)
Parameters
- appContext
- Type: NetQuarryIAppContext
The application context object - uc
- Type: NetQuarry.SecurityUserContext
The user context object to reset.
Note that we do NOT use the UserContext associated with the
application object as the reset may be done by another user (e.g. administrator)
- 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
Implements
IAuthenticationProviderResetPassword(IAppContext, UserContext, Boolean, String)See Also