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

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close