65536 system users minus the ones that are already present. For virtual users (e.g. email, etc.) there's no limit.