Difference between revisions of "Nats get member"
From TMM Wiki
Jump to navigationJump to search (New page: {{NATS4 Manual | show_template_functions_section = true }} ''Applies to NATS 4.0.61 and greater.'' = nats_list_affiliates = Prints the member data selected by the input information. ...) |
|||
Line 2: | Line 2: | ||
| show_template_functions_section = true | | show_template_functions_section = true | ||
}} | }} | ||
− | ''Applies to [[NATS]] 4.0. | + | ''Applies to [[NATS]] 4.0.62 and greater.'' |
= nats_list_affiliates = | = nats_list_affiliates = |
Revision as of 13:13, 14 May 2009
Applies to NATS 4.0.62 and greater.
nats_list_affiliates
Prints the member data selected by the input information.
Alias: get_affiliates
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
memberid | Specify the member id of the member you want to retrieve information on | 1 | 0 | memberid=1 |
memberidx | Specify the memberidx of the member you want information for | RSBNATIVE:12345 | 0 | memberidx="RSBNATIVE:12345" |
username | Specify the username of the member you're looking for. This parameter also requires siteid and email to be set | DemoUser | 0 | username="DemoUser" |
siteid | Specify the siteid of the member you're looking for. This parameter also requires username and email to be set | 1 | 0 | siteid=1 |
Specify the e-mail address of the member you're looking for. This parameter also requires the username and siteid | change@toomuchmedia.com | 0 | email=change@toomuchmedia.com | |
transaction_id | Specify the transaction id of the member you are looking for. | 12345 | 0 | transaction_id=12345 |
status | Specify the status of the member you're looking for | 1 | 0 | status=1 |
token_hash | Specify the token hash of the member you're looking for. | 13asd12 | 0 | token_hash="13asd12" |
full_info | Specify if you want to retrieve all the information for the member | 1 | 0 | full_info=1 |
assign_prefix | Prefix output variables with this word. (Click link for details) | Any valid Smarty variable name | None. (No prefix is used) | assign_prefix="myvar" |
Output
Returns an array of the member data.
Examples
{nats_get_member transaction_id="12345"}
Notes
To make an array reference, create the array using the nats_add_to_array function.