Click or drag to resize

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
)

Parameters

appContext
Type: NetQuarryIAppContext
The current IAppContext object.
userID
Type: SystemString
The user ID
emailAddress
Type: SystemString
The email address.

Return Value

Type: UserContext
A restored UserContext object or null if the validation doesn't work.
See Also