Click or drag to resize

UserContextRestore Method

Restores the UserContext object by looking up the data from the users table

Namespace:  NetQuarry.Security
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static UserContext Restore(
	IAppContext appContext,
	string userID,
	string emailAddress
)

Parameters

appContext
Type: NetQuarryIAppContext
The application object
userID
Type: SystemString
The userID
emailAddress
Type: SystemString
The email address for this user.

Return Value

Type: UserContext
A valid user context object or null (if the lookup fails)
See Also