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
)
Public Shared Function Restore (
appContext As IAppContext,
userID As String,
emailAddress As String
) As UserContext
Parameters
- appContext
- Type: NetQuarryIAppContext
The application object - userID
- Type: SystemString
The userID - emailAddress
- Type: SystemString
The email address for this user.
Return Value
Type:
UserContextA valid user context object or null (if the lookup fails)
See Also