Api/auth.useradd()
Jump to navigation
Jump to search
this api is part of the auth client side package and is used to create new users on the rednet network
usage:
auth.useradd(username, password, ADM)
output:
creates a new user with username and password, if ADM is provided as a string this user will be an admin.
eg: auth.useradd("foo", "bar") creates a user with the name foo and password bar
auth.useradd("foo", "bar", "ADM") creates an admin user with the name foo and password bar