object SimpleXML registerUsers(
array
$accounts)
|
|
Register Users
The accounts array may hold up to 1,000 accounts. Each account should hold these array keys: (account_id and account_url are optional)
// Hash the emails
$accounts = array();
$accounts[] = array(
'email_hash' => $hash1,
'account_id' => 12345678,
'account_url' => 'http://example.com/users?id=12345678'
)
$accounts[] = array(
'email_hash' => $hash2,
)
Parameters:
object SimpleXML unregisterUsers(
array
$emailHashes)
|
|
unregisterUsers
This method allows a site to unregister a connected account. You should call this method if the user deletes his account on your site.
$hashes = array();
Parameters: