Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MembershipProviderAdapter.GetUser(String, Boolean) Method

Gets information from the data source for a user. Provides an option to update the last-activity date/time stamp for the user.

[Visual Basic]
Public Overrides Overloads Sub GetUser( _
   ByVal username As String, _
   ByVal userIsOnline As Boolean _
) _
    Implements IMembershipProvider.GetUser
[C#]
public override MembershipUser GetUser(
   string username,
   bool userIsOnline
);

Parameters

username
The name of the user to get information for.
userIsOnline
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.

Implements

IMembershipProvider.GetUser

See Also

MembershipProviderAdapter Class | Spring.Web.Providers Namespace | MembershipProviderAdapter.GetUser Overload List