user/getcount
Parameters:
p1: partition username
p2: (optional) list type (defaults to "active"), other options "inactive" and "all"
Return Type:
Integer
Description:
Returns the number of users that exist inside specified account (this includes learners and managers). You can specify the list type for the 2nd parameter. By default, returned count will be 'active' users. You can set 2nd parameter to inactive (to get inactive user count) or all (to get count for all users). Note that previous versions of this API command returned count of ALL users, and did not offer the 2nd parameter.