IAuthenticationProviderRestore Method |
Restore the user context from a user id. Used when a password is lost and you want to
send the user a new password.
Namespace:
NetQuarry.Security
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax UserContext Restore(
IAppContext appContext,
string userID,
string emailAddress
)
Function Restore (
appContext As IAppContext,
userID As String,
emailAddress As String
) As UserContext
Parameters
- appContext
- Type: NetQuarryIAppContext
The current IAppContext object. - userID
- Type: SystemString
The user ID - emailAddress
- Type: SystemString
The email address.
Return Value
Type:
UserContextA restored UserContext object or null if the validation doesn't work.
See Also