GetUser Method (Object, Boolean)

MySQL Connector/Net

Gets user information from the data source based on the unique identifier for the membership user. Provides an option to update the last-activity date/time stamp for the user.

Namespace:  MySql.Web.Security
Assembly:  MySql.Web (in MySql.Web.dll) Version: 6.2.2.0

Syntax

C#
public override MembershipUser GetUser(
	Object providerUserKey,
	bool userIsOnline
)
Visual Basic (Declaration)
Public Overrides Function GetUser ( _
	providerUserKey As Object, _
	userIsOnline As Boolean _
) As MembershipUser
Visual C++
public:
virtual MembershipUser^ GetUser(
	Object^ providerUserKey, 
	bool userIsOnline
) override

Parameters

providerUserKey
Type: System..::.Object
The unique identifier for the membership user to get information for.
userIsOnline
Type: System..::.Boolean
true to update the last-activity date/time stamp for the user; false to return user information without updating the last-activity date/time stamp for the user.

Return Value

A MembershipUser object populated with the specified user's information from the data source.

See Also