Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ReportDataSource Class / GetActiveUsers Method / GetActiveUsers(Int32,String) Method
Number of minutes for the last activity by the user beyond which the user is considered inactive
Sort expression to use for sorting the loaded objects
In This Topic
    GetActiveUsers(Int32,String) Method
    In This Topic
    Gets a list of currently active users
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    public static IList<User> GetActiveUsers( 
       int activityThreshold,
       string sortExpression
    )

    Parameters

    activityThreshold
    Number of minutes for the last activity by the user beyond which the user is considered inactive
    sortExpression
    Sort expression to use for sorting the loaded objects

    Return Value

    A list of currently active users
    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