API:love:helper:getemails.php

user=user, include username. requires var=var to be set (will contain emails) limit=max records [1500] term=head filter for names ( username like ' %')

id = local userid label = nickname (email@address)
 * must be logged in
 * Default output is alphabetically sorted by nickname

[{"id":"526","label":"nickname526 (email526@example.com)"},{"id":"3","label":"Nickname80 (email80@example.com)"}]

Output username as well.

var.user = 'garth.johnson'; var.emails = [{"id":"526","label":"nickname526 (email526@example.com)"},{"id":"3","label":"Nickname80 (email80@example.com)"}]