How to write a lotus script to reset internet password

Asked By 20 points N/A Posted on -
qa-featured

Hi

Can you assist me in writing a Lotus script to reset the Internet password of particular person?

 

SHARE
Answered By 20 points N/A #120305

How to write a lotus script to reset internet password

qa-featured

Hi Colby,

Resetting the internet password using a lotus notes script means you are trying to insert a password on the HTTP password field.

To do this you need to user 2 databases. One would act as an interface where a user can enter their password and the other one to where the value of the information is saved.

You can try to use the code below”

(httppassword_eng is the frontend database field for the password, httppassword_valid_engl is the validation field)
If doc.HTTPPassword_engl(0) = "" Then                     
     Messagebox("Please fill in a password!")
  Elseif (Left$(doc.HTTPPassword_engl(0),1)="(" Or Right$(doc.HTTPPassword_engl(0),1)=")") Then    
     Messagebox("Please do not use brackets!")
  Elseif (doc.HTTPPassword_engl(0) <> doc.HTTPPassword_valid_engl(0))  Then
     Messagebox("Your password does not match your repeated password!")

Aristono

Related Questions