Difference between revisions of "NATS4 API Record Member Login"
From TMM Wiki
Jump to navigationJump to search(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{NATS4 Manual | ||
+ | | show_api_admin_section = true | ||
+ | }} | ||
+ | |||
'''''This API function is available in NATS 4.1.4.1 and higher.''''' | '''''This API function is available in NATS 4.1.4.1 and higher.''''' | ||
Line 28: | Line 32: | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:NATS4 API Articles]] | [[Category:NATS4 API Articles]] |
Latest revision as of 14:07, 1 February 2013
This API function is available in NATS 4.1.4.1 and higher.
The 'record_member_login' API function is used to record the logins to your membership sites in NATS. This function works similarly to Member Logging.
This function needs several parameters:
- username
- siteid
- ip address
The call will return either "SUCCESS: 1" or "FAILURE: No Member Found".
Examples
NuSOAP Example (continuing from main article NuSOAP Example):
$values = Array( 'username' => 'apitest_login', 'siteid' => '1', 'ip' =>'75.99.182.234'); $result = $client->call('record_member_login', $values, 'natsapiadmin_wsdl'); var_dump($result);
Output:
SUCCESS: 1