organizations/getusercount
Parameters:
p1: partition username
p2: organization id
p3: (optional) branch id
p4: (optional) list type (defaults to “active”)
Return Type:
Integer
Description:
Returns the number of users that exist inside specified organization/branch. You can omit the branch id in the 3rd parameter to return the user count for the entire organization. You can specify the list type for the 4th parameter. By default, returned count will be ‘active’ users. Set the 4th parameter to all to get count for all users (active & inactive).