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_set_password

Printer Friendly Format

Synopsis

bool plexcel_set_password(resource $px,
        string $acctname,
        string $password)

Description

The plexcel_set_password function sets the password on the named account.

Note: Only Administrators and Account Operators can set account passwords. Regular users can change their own password but they must use the plexcel_change_password function.

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 password that should be set on the named account.

Returns

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

See also

plexcel_change_password | plexcel_get_service_keytab

© 2008 IOPLEX Software | Contact Us | Policies