ModifyUserWithLdapAttributes()

From Rackspace Email & Apps API
Jump to: navigation, search

This function will modify a mailbox and set it's mailbox LDAP attributes.

Input Parameters

Six strings, one integer, and one array of strings:

   Administrative username,
   Administrative password,
   Domain name,
   UserID,
   Surname (last name of user-- required),
   Password,
   Active (int; 1=active, 0=inactive),
   Attributes array ("givenname    John", "o   MyCompany", ...) (tab delimited)

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.