action_="password"
<do action_="password"> changes a
user's 1010data password. (Available as of version 10.29)
Description
In order to change their 1010data password, the user must supply the current password,
using the oldpass_ attribute, and the new password, using the
newpass_ attribute. An error is signaled if the password cannot be
changed. If the action completes without an error, then the password has been changed
successfully.
To get a list of the password rules that apply to the user's account, specify only the
helpvalue_ attribute.
Syntax
<dynamic creds="{pkg(;)}" listvar="{lst()}">
<do action_="password" value_="@creds"
oldpass_="[CURRENT_PASSWORD]"
newpass_="[NEW_PASSWORD]"
helpvalue_="@listvar"/>
</dynamic>
Attributes for action_="password"
value_- Information about the new session credentials is stored as a package in the dynamic
variable associated with this attribute.The package contains the following keys:
uid- User name
sid- Session ID
pswd- User password
The variable must be declared as a package in the opening
<dynamic>tag of the QuickApp (e.g.,<dynamic var_name="{pkg(;)}">). oldpass_- Specifies the user's current password. Accepts a string.
Both
oldpass_andnewpass_must be specified to change the user's password. newpass_- Specifies the user's new password. Accepts a string.
Both
oldpass_andnewpass_must be specified to change the user's password. helpvalue_- If
oldpass_andnewpass_are not specified, the dynamic variable associated with this attribute is set to a list-value consisting of the password rules that apply to the user's account.The variable must be declared as a list-value in the opening
<dynamic>tag of the QuickApp (e.g.,<dynamic var_name="{lst()}">).
