GetUser Method (String, Boolean)

MySQL Connector/Net

Gets information from the data source for a 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(
	string username,
	bool userIsOnline
)
Visual Basic (Declaration)
Public Overrides Function GetUser ( _
	username As String, _
	userIsOnline As Boolean _
) As MembershipUser
Visual C++
public:
virtual MembershipUser^ GetUser(
	String^ username, 
	bool userIsOnline
) override

Parameters

username
Type: System..::.String
The name of the 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