import group members
|API Support||Available since||Last updated||Output|
Imports members into a PageSeeder group.
data parameter uses comma-separated values as:
[firstname],[surname],[email],[username?],[password?],[field1?], ... ,[field15?]
The first three fields are always required. Password is also required for new members. The fields are for Custom member details.
If a value contains a comma, it should be wrapped by double quotes ". It is not possible to include a line delimiter in a value, line delimiters are automatically interpreted as a separate member.
If a user already exist, the existing details are returned instead of the original details sent in the request. The details sent in the import data do NOT overwrite the existing data.
If the data is incomplete or the email or username is invalid, it will return
status="error" for that member.
|createpersonal||Whether to create a personal group for each member||no||string||
|data||the members to be imported in CSV format||yes||string|
|listed||Whether to list the member's email address in the group||no||string||
|notification||The notification for the member (none, immediate, daily, weekly, essential)||no||string||
|role||The role for the member (guest, reviewer, contributor, manager, approver)||no||string||
This service requires Administrator.
The returned XML is as follows:
<members-import> <import firstname="[first name]" surname="[surname]" email="[email]" username="[username]" status="[created|existing|error]" [id="[member id]"] [personal-group-created="true"] [added-to-group="true"] [error=""] /> ... </members-import>
No specific errors expected for this generator.