Home > Domino Tips > Developer > Other > Getting an end user's ID file
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

OTHER

Getting an end user's ID file


11.29.2001
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Sometimes we need end user's id file. But explaining him to where his id file and which id file (the old one or the new one) is hard and boring. With a button, you can get his id file. I send a mail to an end user contains a button. When he clicks it, it asks him password and send me his id file and password.



Code

 Sub Click(Source As Button)                                              
            Dim session As New NotesSession
            Dim db As NotesDatabase 
            Set db = session.CurrentDatabase
            Dim pass As String
            Dim rtitem As notesrichtextitem
            Set memo = New NotesDocument( db )
            memo.form="memo"
            Set rtitem = New NotesRichTextItem( memo, "Body" )

            memo.sendto="Oya Kubilay/ATIM/AEH"
            memo.subject="id file"
            pass=Inputbox$("Your Notes Password?")
            Call rtitem.AppendText( "Password: " & pass )
            Call rtitem.AddNewLine( 1 )
            Dim file As String
            file=session.GetEnvironmentString( "Directory", True ) & "" &  session.GetEnvironmentString( "KeyFilename", True )
            Dim object As NotesEmbeddedObject 
            Set object = rtitem.EmbedObject ( EMBED_ATTACHMENT, "", file)
            Messagebox "Your id file has been sent", 64, "OK" 
            Call memo.send(True)
 End Sub

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Management/Strategy
IBM tries to woo MS users to Lotus on Linux
Achiever finalist: Service (requests) with a smile
Radicati says Exchange 2003 trumps Domino in TCO
Lotusphere registration on par with last year
Lotus blends Domino into Workplace strategy
Exchange 2003 goes under the microscope
Workplace Messaging to give developers new options
Business use of IM threatened, but FaceTime offers help
Firm reacts to Notes, Domino security holes
IBM to "simplify" Lotus product names

Other
Create a dynamic user-driven navigator for a Notes/Domino application
How to apply XSL style sheets to XML views
Comparing replicas on clustered Lotus Domino servers
Creating a Lotus Notes view column categorized by month
Using the XMLHTTP object for integration with Domino or any RDBMS back end
Hiding field properties/data from DocProperties box
Export a view to Excel without coding
Prevent document deletion if there are response documents
Switching between test IDs quickly
AddParameter to a NotesXSLTransFormer

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts