Programmatically setting the Customize logout screen

I don’t know if anyone’s already submitted this to the Forum, but I have found out how to set the “Customize logout screen” programmatically.It is actually stored in the User Profile document in the Bookmark.nsf. The User Profile Document is called “hpsettings” and the field is “$LogoutImage”.

So to set it Using Formula:

@SetProfileField(“hpsettings”; “$LogoutImage”; “”; @UserName)

To Set it Using LotusScript:

Dim ss As New NotesSession

Dim doc As NotesDocument

Set doc = ss.CurrentDatabase.GetProfileDocument(“hpsettings”,ss.UserName)

doc.~$LogoutImage = “”

Call doc.Save(True,False)

After it runs, it will be applied the next time they start Notes.

Important Note: The Image MUST exist as an Image Resource in the User’s Local Bookmark.nsf

Enjoy!