Difference between revisions of "GetDomainAllUserLastLoginAlpha()"

From Rackspace Email & Apps API
Jump to: navigation, search
(New page: This function will report the date of the last login for all mailboxes on a domain that match the string provided. Note that if a single letter is passed as the search element, then the f...)
(No difference)

Revision as of 14:53, 25 August 2008

This function will report the date of the last login for all mailboxes on a domain that match the string provided. Note that if a single letter is passed as the search element, then the function will return all usernames where the first letter matches the search element. Otherwise, the 2+ letters given in the search element will be used to return usernames that have the search element somewhere inside the username. POP3/IMAP/Webmail logins are all considered a login (not SMTP Auth). Last login information is recalculated nightly-- so the most recent login should generally be yesterday's date on an active account.

Input Parameters

Three strings, an integer, and one result array:

   Administrative username,
   Administrative password,
   Domain name,
   Search element (single number or letter: match usernames that start with it, multiple = match in username),
   Last login array (as in: list[0]="user1, month/day/year hour:minute:second AM/PM",list[1]="user2..."...)

Return Values

If successful, the return value of the function will be 1.

Consult the Result Code Table for a list of result codes and their meaning.