register group member
|API Support||Available since||Last updated||Output|
Edit the subscription details for a member.
This URL has been deprecated in PageSeeder 5.2 and has been scheduled to be removed.
Group membership parameters
If a group is specified on the request, the new member is also added to the group. All group membership parameters are optional, and will default to the group's default values.
The notification parameter must be one of "Immediate", "Daily" or "None". Users are able to change this setting later through the user interface in their group registration options.
The role parameter must be one of "Guest", "Reviewer", "Contributor", "Manager", "Approver", "Mod & App", "Moderator".
The listed boolean parameter can be used to override the group's default setting. It affects whether other group member are able to see the member's user details. Users are able to change this setting later through the user interface in their group registration options.
Registration / Deregistration
This service can be used to register/deregister a member to/from group by using the appropriate parameters ( register and deregister respectively).
|deregister||Set to "true" to deregister the member from the group||no||boolean||
|field1||Custom field #1||no||string|
|field10||Custom field #10||no||string|
|field11||Custom field #11||no||string|
|field12||Custom field #12||no||string|
|field13||Custom field #13||no||string|
|field14||Custom field #14||no||string|
|field15||Custom field #15||no||string|
|field2||Custom field #2||no||string|
|field3||Custom field #3||no||string|
|field4||Custom field #4||no||string|
|field5||Custom field #5||no||string|
|field6||Custom field #6||no||string|
|field7||Custom field #7||no||string|
|field8||Custom field #8||no||string|
|field9||Custom field #9||no||string|
|listed||Whether the member's email address is listed in the group||no||boolean|
|notification||The member's notification option in the group||no||enum|
|register||Set to "true" to register the member to the group||no||boolean||
|role||The member's role in the group||no||enum|
|notify-async||Whether to send emails asynchronously (for slow email servers).||no||boolean||
This service can only be invoked by a Manager in the group or an Administrator.
When successful, the XML returned the full details of the updated membership as a <membership> element wrapped in a
<membership-modification> <membership id="[membershipid]" email-listed="[true|false]" notification="[none|immediate|daily]" flags="[flags]" [status="status"] [role="status"]> <member id="[member id]" firstname="[first name]" surname="[surname]" username="[username]" flags="[flags]" status="[activated|unactivated]"> <fullname>[full name]</fullname> </member> <group id="[group id]" name="[name]" flags="[flags]" visibility="[visibility]" template="[template]"> <description>[description]</description> </group> </membership> </membership-modification>
|Code||Cause / Description|
|0x1006||If the user is not a member of the group.|
|0x100D||If the specified role is illegal|
|0x1014||If the user attempts to deregister and register or change his role at the same time|
|0x6004||If the member details have not been configured properly|
Created on , last edited on