Difference between revisions of "GetUsersWithFilterStr()"

From Rackspace Email & Apps API
Jump to: navigation, search
(New page: This function will search LDAP-style directory attributes of users on a domain and will return a list of users that match. A list of possible attributes can be found at [[AddUserWithLdapA...)
 
(No difference)

Latest revision as of 13:01, 22 August 2008

This function will search LDAP-style directory attributes of users on a domain and will return a list of users that match. A list of possible attributes can be found at AddUserWithLdapAttributes(). An empty filter string will return a list of all users on the domain, as will a string of simply "*". Other than the previous notes, wildcards are not supported for partial matching.

Parameters

Four strings, one result string:

   Administrative username,
   Administrative password,
   Domain name,
   Filter string, (formatted as "attribute=value[,attribute=vallue,...]"
   User list (each users on its own line, lines terminated with crlf)

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.