Gets the http context cached information from the data source for the membership user associated with the specified unique identifier and updates the last activity date/time stamp for the user, if specified.

Namespace: MonoSoftware.MonoX
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public override MembershipUser GetUser(
	Object providerUserKey,
	bool userIsOnline
)
Visual Basic
Public Overrides Function GetUser ( 
	providerUserKey As Object,
	userIsOnline As Boolean
) As MembershipUser
Visual C++
public:
virtual MembershipUser^ GetUser(
	Object^ providerUserKey, 
	bool userIsOnline
) override
F#
abstract GetUser : 
        providerUserKey : Object * 
        userIsOnline : bool -> MembershipUser 
override GetUser : 
        providerUserKey : Object * 
        userIsOnline : bool -> MembershipUser 

Parameters

providerUserKey
Type: System..::..Object
The unique identifier for the user.
userIsOnline
Type: System..::..Boolean
true to update the last-activity date/time stamp for the specified user; otherwise, false.

Return Value

Type: MembershipUser
A System.Web.Security.MembershipUser object representing the user associated with the specified unique identifier. If no user is found in the database for the specified providerUserKey value, null is returned.

See Also