Home > Contents > Index >
user:changepassword (Deprecated)
Deprecated as of Content Server version 4.0; replaced by
dir:replaceattrs
.Syntax
<user:changepassword password1="new password" password2="new password" />Parameters
password1 (required)
- The user's new password.
password2 (required)
- The new password confirmation.
Description
The
user:changepassword
tag changes the password of an existing user. This tag confirms that the password entries match, and then changes the password. When a user submits a form that changes a password, this tag verifies that change.Error Numbers
The possible values of
errno
include:
Value Description -105 Database error -10004 A required parameter is missing.Example
The following example confirms the changes to the password of the current user.
<user:changepassword password1="newpw" password2="newpwconfirm"/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.