| 4D v15.4CHANGE PASSWORD | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v15.4
 CHANGE PASSWORD 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHANGE PASSWORD ( password ) | ||||||||
| Parameter | Type | Description | ||||||
| password | String |   | New password | |||||
CHANGE PASSWORD changes the password of the current user. This command replaces the current password with the new password you pass in password.
Warning: Password are case-sensitive.
The following example allows the user to change his or her password.
 CHANGE CURRENT USER ` Present user with password dialog
 If(OK=1)
    $pw1:=Request("Enter new password for "+Current user)
  ` The password should be at least five characters long
    If(((OK=1)&($pw1#""))&(Length($pw1)>5))
  ` Make sure the password has been entered correctly
       $pw2:=Request("Enter password again")
       If((OK=1)&($pw1=$pw2))
          CHANGE PASSWORD($pw2) ` Change the password
       End if
    End if
 End if
	Product:  4D
	Theme:  Users and Groups
	Number:  
        186
        
        
        
	
	Created:  < 4D v6
	
	
	
	
	4D Language Reference ( 4D v15.4)
	
	
	4D Language Reference ( 4D v15)
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v15.3)
	
	
 Add a comment
Add a comment