IOPLEX
Communications Software
Plexcel for PHP - Active Directory PHP Integration
plexcel_new
plexcel_status
plexcel_find_authorities_by_domain
plexcel_get_authority
plexcel_get_domain
plexcel_log
plexcel_preamble
plexcel_authenticate
plexcel_sso
plexcel_logon
plexcel_logoff
plexcel_accept_token
plexcel_is_member_of
plexcel_set_password
plexcel_change_password
plexcel_gen_service_keytab
plexcel_search_objects
plexcel_get_account
plexcel_add_object
plexcel_modify_object
plexcel_delete_object
plexcel_set_attrdefs
plexcel_get_attrdefs
plexcel_set_conv_attrdefs

plexcel_change_password

Printer Friendly Format

Synopsis

bool plexcel_change_password(resource $px,
        string $acctname,
        string $password,
        string $new_password)

Description

The plexcel_change_password function sets the password on the named account. Users who are not in the Administrators or Account Operators groups must use this function to set their own password.

The $px parameter is the Plexcel context resource representing the binding to the server on which the password will be set.

The $acctname parameter is the name of the account for which the password is being set. Currently this name must be in the user principal name (UPN) form (e.g. bcarter@example.com).

The $password parameter is the current password for the named account.

The $new_password parameter is the new password to be set.

Returns

The plexcel_change_password function returns TRUE if the password was successfully changed. Otherwise, FALSE is returned in which case plexcel_status should be consulted.

See also

plexcel_set_password | plexcel_get_service_keytab

© 2008 IOPLEX Software | Contact Us | Policies