Solved

PERL and Notes

Posted on 2004-04-28
3
375 Views
Last Modified: 2013-12-18
This is just a general question - I have a names.nsf database with user IDS, can I write a perl script that will be able to access the names.nsf file and get information?  Is there a way for PERL to access notes?
0
Comment
Question by:Jaziar
  • 2
3 Comments
 
LVL 31

Accepted Solution

by:
qwaletee earned 50 total points
ID: 10941997
Yes, you can use the COM interface, and you will need to use the session initializing method appropriate to your setup (depending on whether you are running on a server or a client).

Someone also put out a basic PERL library for Notes a while back.
0
 

Author Comment

by:Jaziar
ID: 10942096
Any tips on a good refernce point for me to start with.

I have plans on writing a perl script that hits the server that names.nsf is on.

I would like to see the session initializing method you refered to.
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 10942586
names.nsf is on every server

You shoudl check the Initialize methid in Designer help.  It refers to accessing Domino via COM, and assumes you will probably use VB, but the object model is the same whether you access COM via VB or Perl.

On a server, you can pass a user name and password string pair as parameters, and it will attempt to do login the same way web browsers do.  On a workstation, you must pass the password to the current default user ID file.  You can also use the client form of Initialize on a server, but you can't use the server form on the client.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question