Set `rank` when using modUser->joinGroup