Shows the Change Password dialog.
[ bVerified = ] Object.ShowChangePasswordDialog( [, hParent] )
The ShowChangePasswordDialog method syntax has the following parts:
Name |
Type |
Description |
Object |
AUsers |
AUsers object |
hParent |
Val AHandle |
Handle to the parent wnd |
bVerified |
Bool |
A boolean expression that specifies whether the password was changed. |
bVerified can be one of the following:
Value |
Description |
True * |
The password was changed. |
False |
The password was not changed. |
The Change Password dialog lets the current user change his own password. If the current user is not a system administrator, the length of password must be at least the minimum length the AUsers object requires.
If the password was successfully changed, then it returns True.
The following example will show the Change Password dialog:
if users.ShowChangePasswordDialog()=True then
print "Change Password was successful!"
endif