Manage Learn to apply best practices and optimize your operations.

Easy way to change HTTP password

Here's an action to a mail template which automates the HTTP passwords.

Our users are constantly forgetting their HTTP passwords, which creates calls to our Help Desk. Although users can simply go into the NAB and edit their own person document, most of them are not aware of this and the Help Desk needs to walk them through the process on the phone. To help them with these calls, we added an action to our mail template which automates the process. Now, when the Help Desk does get this call, it is only a matter of seconds for the user to fix the issue themselves, and it is simple enough that an end user will remember the process if the problem occurs again.


 Action Name: Reset HTTP Password Sub Initialize Dim session As New NotesSession Dim db As NotesDatabase Dim NAB As New NotesDatabase("","") Dim PerView As NotesView Dim PerDoc As NotesDocument Dim UIWork As New NotesUIWorkspace Dim UIDoc As NotesUIDocument Dim Server As String Set DB=session.currentdatabase Server = db.Server flag = NAB.OpenByReplicaID( Server, "8025626E004232EE" ) 'specify the replica ID of your NAB Set PerView = NAB.GetView("PeoplebyFirst") Set PerDoc = PerView.GetDocumentByKey(session.commonusername, True) If Not (PerDoc Is Nothing) Then NewPass = Inputbox$ ( "Please enter your new HTTP password" , "Change HTTP Password") If NewPass = "" Then Msgbox "Action canceled by user." Else Set UIDoc = UIWork.EditDocument( True, PerDoc) Call UIDoc.FieldSetText( "HTTPPassword", NewPass ) Call UIDoc.Refresh Call UIDoc.Save Call UIDoc.Close If Server = "" Then Msgbox "Your HTTP password has been
successfully changed. Since you are working locally, this change will
take effect within minutes of you replicating your local Corporate
Directory to your home mail server, but can take up to two hours after that
to take effect on the data servers. Please contact the Help Desk with
any questions." Else Msgbox "Your HTTP password has been
successfully changed. This change will take effect within minutes on
your home mail server, but can take up to two hours to take effect on the
data servers. Please contact the Help Desk with any questions." End If End If End If Print "Done" End Sub

Dig Deeper on Domino Resources - Part 4

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close