|
|
Overview
After users sign up and have paid for their services, your system can automatically add them
to the ZoneEdit server.
You can add new users, add zones to users, delete users:
add_user_zone($user, $zone, %props)
- adds a zone to a user, optionally creating the user (if you specify a pass=>'value' in %props)
your team must have rights to the zone, or you must be certified as an authoritative user
OPTIONAL PROPS: pass, email, fullname, access, ip
add_user($user, $pass, %props)
- creates a new user account and/or modifies a user account
OPTIONAL PROPS: email, fullname, access, ip
del_user($user)
- permanently and irrevocably deletes a user, use with care
The Perl module source serves as a good reference for those who want to implement this
in other languages, it can be found here.
Example
|
|
|