Anonymous_User Absent Member.
Absent Member.
2139 views

Extract address book ids

Hello,

I'm posting this on behalf of our application development person (whom
should know how to do this). Is there a way to create a batch job that
would extract all email addresses from the GroupWise Address Book and
insert them into a flat file. They would run this batch job every
night.

Does anyone already have something like this ?

I would think we could do this via a trusted application ?


David
PSEP

Labels (1)
0 Likes
3 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Extract address book ids

Hello, PSEP.

Yes, you could use the Trusted Application to extract all the email
addresses quite easily. You would actually need to use the GroupWise
Object APIs as opposed to the GroupWise Admin APIs.

The GroupWise Object APIs allow you to access an accounts address book.
The only gotcha will be that since you are using the Trusted Application
you will need to ensure that on your Application object you set the
MultiLoginAddressBookSupport = true.

The following link will provide you with information, and samples
regarding the GroupWise Object APIs.

http://developer.novell.com/ndk/gwobjapi.htm

Regards,

Shane

In article <413718C0.EC4C29E6@smtp.gc.ca>, schryerd@smtp.gc.ca says...
> Hello,
>
> I'm posting this on behalf of our application development person (whom
> should know how to do this). Is there a way to create a batch job that
> would extract all email addresses from the GroupWise Address Book and
> insert them into a flat file. They would run this batch job every
> night.
>
> Does anyone already have something like this ?
>
> I would think we could do this via a trusted application ?
>
>
> David
> PSEP
>
>

0 Likes
Highlighted
Anonymous_User Absent Member.
Absent Member.

Re: Extract address book ids

I'm told that they do use the Object API's in Window application ... but this
application is a web app.

David Schryer
PSEP

----------------

Shane, DevNet SysOp 57 wrote:

> Hello, PSEP.
>
> Yes, you could use the Trusted Application to extract all the email
> addresses quite easily. You would actually need to use the GroupWise
> Object APIs as opposed to the GroupWise Admin APIs.
>
> The GroupWise Object APIs allow you to access an accounts address book.
> The only gotcha will be that since you are using the Trusted Application
> you will need to ensure that on your Application object you set the
> MultiLoginAddressBookSupport = true.
>
> The following link will provide you with information, and samples
> regarding the GroupWise Object APIs.
>
> http://developer.novell.com/ndk/gwobjapi.htm
>
> Regards,
>
> Shane
>
> In article <413718C0.EC4C29E6@smtp.gc.ca>, schryerd@smtp.gc.ca says...
> > Hello,
> >
> > I'm posting this on behalf of our application development person (whom
> > should know how to do this). Is there a way to create a batch job that
> > would extract all email addresses from the GroupWise Address Book and
> > insert them into a flat file. They would run this batch job every
> > night.
> >
> > Does anyone already have something like this ?
> >
> > I would think we could do this via a trusted application ?
> >
> >
> > David
> > PSEP
> >
> >


0 Likes
skirkby Absent Member.
Absent Member.

Re: Extract address book ids

I assume you want to get the GroupWise System address book? Or are you trying to dump end-user personal address books?

If the former, then you can use the GW Admin Object API, even from a Web App, assuming the Web server is running on Windows, and provides a way to execute external code such as your program.

In addition, you can use LDAP against the GWIA. This option will work from any platform (i.e. Linux, Unix, Windows, others) that your web server runs on, provided that the app/script the web server integrates with provides support for LDAP (i.e. Perl or PHP, with the proper libraries). This will give you access to internal GW users in the system address book. Of course, you need to enable LDAP support in the GWIA through ConsoleOne.

With either of these solutions, you do not need to use the Object API, nor the Trusted App API - just the Admin Object API.

If you intend to get access to personal address book data for end users, then just about the only option you have is the Object API. In addition, you will find it easier to manage if you use the Trusted App API, so you don't have to store passwords, etc.

Another potential option is to use the GWSOAP API to access end user address books, but this approach suffers two problems right now: 1) It's not available in the NetWare or Windows agents (not until GW65sp3 is released), and the implementation in GW65sp2 Linux agents has problems, and 2) The last version of the API I saw didn't support Trusted App logins (though they said they were working to add it).

When this API hits prime time, it will provide a cross-platform, HTTP-basedmethod for accessing personal address book data for all users, supposedly with Trusted App support.

FWIW.

--sk.

>>> <schryerd@smtp.gc.ca> 9/2/2004 1:24:40 PM >>>


I'm told that they do use the Object API's in Window application ... but this
application is a web app.

David Schryer
PSEP

----------------

Shane, DevNet SysOp 57 wrote:

> Hello, PSEP.
>
> Yes, you could use the Trusted Application to extract all the email
> addresses quite easily. You would actually need to use the GroupWise
> Object APIs as opposed to the GroupWise Admin APIs.
>
> The GroupWise Object APIs allow you to access an accounts address book.
> The only gotcha will be that since you are using the Trusted Application
> you will need to ensure that on your Application object you set the
> MultiLoginAddressBookSupport = true.
>
> The following link will provide you with information, and samples
> regarding the GroupWise Object APIs.
>
> http://developer.novell.com/ndk/gwobjapi.htm
>
> Regards,
>
> Shane
>
> In article <413718C0.EC4C29E6@smtp.gc.ca>, schryerd@smtp.gc.ca says...
> > Hello,
> >
> > I'm posting this on behalf of our application development person (whom
> > should know how to do this). Is there a way to create a batch job that
> > would extract all email addresses from the GroupWise Address Book and
> > insert them into a flat file. They would run this batch job every
> > night.
> >
> > Does anyone already have something like this ?
> >
> > I would think we could do this via a trusted application ?
> >
> >
> > David
> > PSEP
> >
> >


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.