ShowChangePasswordDialog Method (AUsers)

Shows the Change Password dialog.

Syntax

[ 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.

Where

bVerified can be one of the following:

 

Value

Description

True *

The password was changed.

False

The password was not changed.

Comments

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.

Example

The following example will show the Change Password dialog:

if users.ShowChangePasswordDialog()=True then

print "Change Password was successful!"

endif

Applies to

AUsers

See Also

Login, ShowLoginDialog, ShowUsersDialog, UseLoginDialog