|API Support||Available since||Last updated||Output|
Adds a member to the PageSeeder administrators on this server.
If the member specified (with the email address or username) is non existent, it will be created.
NOTE: Existing members will have their password reset to ensure they have a strong password.
|auto-activate||Whether to activate the new member automatically (member-password should also be set).||no||boolean|
|The member's email address (required if no member-username).||conditional||string|
|firstname||The member's first name (used if they don't exist).||no||string|
|group||Name or ||no||string|
|member-password||The member's password (used if they don't exist).||no||string|
|member-username||The member's username, defaults to the member's email address (required if no email).||conditional||string|
|notify-async||Whether emails should be sent asynchronously (for slow email servers).||no||boolean|
|send-email||Whether to send a welcome/reset password email to the member.||no||boolean|
|surname||The member's last name (used if they don't exist).||no||string|
<administrator-creation [member-created="true"]> <member id="[member id]" firstname="[first name]" surname="[surname]" username="[username]" status="[activated| unactivated| set-password]"> <fullname> [full name] </fullname> </member> </administrator-creation>
|0x1002||If the email address is invalid.|
|0x1005||If the maximum number of members on the server has been reached|
|0x100F||If send-email=true and member doesn't have an email address|
|0x101A||The username and email are not from the same member|
|0x1015||Password is too weak|
|0x1016||Password cannot be equal to username|
|0x1025||The member is already an administrator|
Created on , last edited on