Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / AbleCommerceMembershipProvider Class / GetUser Method / GetUser(String,Boolean) Method
The name of the user to get information for.
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.
In This Topic
    GetUser(String,Boolean) Method
    In This Topic
    Gets information from the data source for a user. Provides an option to update the last-activity date/time stamp for the user.
    Syntax
    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 System.Web.Security.MembershipUser object populated with the specified user's information from the data source.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also