auth::password::can_change_p (public)
auth::password::can_change_p -user_id user_id
Defined in packages/acs-authentication/tcl/password-procs.tcl
Returns whether we can change the password for the given user. This depends on the user's authority and the configuration of that authority.
- Switches:
- -user_id (required)
- The ID of the user whose password you want to change.
- Returns:
- 1 if the user can change password, 0 otherwise.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- auth_password_can_change_reset_retrieve_p