Syncing ldap user with nextcloud - Help

I am using nextcloud. I have a running ldap server. I Need to sync all ldap user to nextcloud. But I did not find any occ command or others on internet.
I have done this for owncloud using an occ command-

sudo -u apache ./occ user:sync “OCA\User_LDAP\User_Proxy”

But how can I do that type of task in nextcloud.
Any help is very much appreciated.