Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMembershipProvider.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 Sub GetUser( _
   ByVal username As String, _
   ByVal userIsOnline As Boolean _
)
[C#]
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.

See Also

IMembershipProvider Interface | Spring.Web.Providers Namespace | IMembershipProvider.GetUser Overload List