Gets information from the data source for a user. Provides an option to update the last-activity date/time stamp for the user.
A System.Web.Security.MembershipUser object populated with the specified user's information from the data source.
Takes, as input, a user name and a Boolean value indicating whether to update the MembershipUser.LastActivityDate property value for the user to show that the user is currently online. MembershipProvider.GetUser(string, bool) returns a System.Web.Security.MembershipUser object populated with current values from the data source for the specified user. If the user name is not found in the data source, MembershipProvider.GetUser(string, bool) returns null.