VT to enumerate SMB users?

Is there anyway of replicating:

nmap --script smb-enum-users --script-args smbusername=(user),smbpass=(pass) -p445 (IP)

…in an .NVT these days? Im new to OpenVAS, and writing .nasl’s is out my league. It’s just a bit strange it doesn’t work with the existing .nasl, as it “looks” like it has this line in it.