Anonymous_User Absent Member.
Absent Member.
2929 views

Creating mail enabled groups

Hello,

Is there any way to create e-mail enabled groups using the GroupWise admin
object API or do I have to use some other API?

Our client does not use distribution list but regular groups and selects a
post office in ConsoleOne.

DirXml is not an option.

Cheers
/Henrik

Labels (1)
0 Likes
9 Replies
johnbaird Absent Member.
Absent Member.

Re: Creating mail enabled groups


"henrikbecker" <henrik.becker@hotmail.com> wrote in message
news:Vj3zf.519$iu2.480@prv-forum2.provo.novell.com...
> Hello,
>
> Is there any way to create e-mail enabled groups using the GroupWise admin
> object API or do I have to use some other API?
>
> Our client does not use distribution list but regular groups and selects a
> post office in ConsoleOne.


There is no way to do this programmatically. However, once the group has
been assigned a PO and domain via ConsoleOne, you can add and remove
members, set the visibility etc using the Admin API.

John
DevSup SysOp 24


0 Likes
judge4life Absent Member.
Absent Member.

Re: Creating mail enabled groups

Hello,

I have the same question as Henrik, related to creating mail-enabled groups
or distribution lists programatically. Isn't there any API that can allow me
to create a Distribution List programatically for GroupWise 7?

Thank you,
Ionut.

"John Baird" <john@jrbsoftware.com> wrote in message
news:W8czf.34$G95.8@prv-forum2.provo.novell.com...
>
> "henrikbecker" <henrik.becker@hotmail.com> wrote in message
> news:Vj3zf.519$iu2.480@prv-forum2.provo.novell.com...
>> Hello,
>>
>> Is there any way to create e-mail enabled groups using the GroupWise
>> admin
>> object API or do I have to use some other API?
>>
>> Our client does not use distribution list but regular groups and selects
>> a
>> post office in ConsoleOne.

>
> There is no way to do this programmatically. However, once the group has
> been assigned a PO and domain via ConsoleOne, you can add and remove
> members, set the visibility etc using the Admin API.
>
> John
> DevSup SysOp 24
>
>



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Creating mail enabled groups

Nope......But beleave, but not sure, that the IDM driver for GW can do
this though.....


--
/Tommy
0 Likes
judge4life Absent Member.
Absent Member.

Re: Creating mail enabled groups

Hello,

I read information about the IDM driver for GW and it is stated that it uses
GW Admin API. If the IDM driver can create a DL by using the GW Admin API,
then we should be able to do the same. I have read part of documentation
from the GW Admin API and found something that might be related to DL
creation. I have pasted below some information. It is taken from document
gwadmenu.pdf from the GW Admin API page 18. Can this be used to create a DL
programatically?

Thanks,
Ionut Marin.

DistributionLists

This large collection contains DistributionList objects.

Properties

The following table lists the properties for this class, along with access
and descriptions.

Methods

DistributionList Add( String ObjName, String DN, [PostOffice PO],

[Domain Dom] )

Creates a DistributionList object with the given ObjName and DN
(distinguished name). See

the table under Remarks.

DistributionList Add( String ObjName, String DN, [String PO],

[String Dom] )

Creates a DistributionList object with the given ObjName and DN
(distinguished name). See

the table under Remarks.

DistributionListsIterator CreateIterator()

Creates a DistributionListsIterator object.

DistributionList Item( String Name, [String PO], [String Dom] )

Returns the DistributionList object with the given Name. See the table under
Remarks.

DistributionList Item( String Name, [PostOffice PO], [Domain Dom] )

Returns the DistributionList object with the given Name. See the table under
Remarks.

DistributionList ItemByDN( String DN, [String Tree] )

Returns the DistributionList object with the given DN (distinguished name).
If no Tree is

supplied, the current tree is assumed.

DistributionList ItemByObjectID( String ObjectID )

Returns the DistributionList object with the given ObjectID.

Remarks

This table applies to the above methods as noted. It shows the parameters
you can use with the

methods depending on where you obtain the DistributionLists object.





"Tommy Mikkelsen" <tm@NoDevSpAmitq.dk> wrote in message
news:2huIk.796$Fg1.343@kovat.provo.novell.com...
> Nope......But beleave, but not sure, that the IDM driver for GW can do
> this though.....
>
>
> --
> /Tommy



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Creating mail enabled groups

Ionut Marin wrote:

> it is stated that it uses GW Admin API


Then that's wrong somehow, since the Admin API is only avail on a
Windowsbox with the GW client installed, but the IDM Driver runs on
multiple platforms, and without the need for a GW Client.

Regarding to the ref. to the admin guide, then yes, it can be used to
create a distribution list, but not to create an eDir group, that acts
as a distribution list....I beleaved, that what you wanted was the
later, or ?

--
/Tommy
0 Likes
judge4life Absent Member.
Absent Member.

Re: Creating mail enabled groups

Hi,

If I create a DL list in GW, can I programatically add users to the list
after its creation?

Does anyone has a small example of how one creates (with the API) a DL in GW
in C?

Thank you,
Ionut Marin.

"Tommy Mikkelsen" <tm@NoDevSpAmitq.dk> wrote in message
news:Gv7Jk.1397$Fg1.96@kovat.provo.novell.com...
> Ionut Marin wrote:
>
>> it is stated that it uses GW Admin API

>
> Then that's wrong somehow, since the Admin API is only avail on a
> Windowsbox with the GW client installed, but the IDM Driver runs on
> multiple platforms, and without the need for a GW Client.
>
> Regarding to the ref. to the admin guide, then yes, it can be used to
> create a distribution list, but not to create an eDir group, that acts
> as a distribution list....I beleaved, that what you wanted was the
> later, or ?
>
> --
> /Tommy



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Creating mail enabled groups

Ionut Marin wrote:

> Does anyone has a small example of how one creates (with the API) a
> DL in GW in C?


Nope, but here's one in VB though...

http://developer.novell.com/wiki/index.php/TID102524_(XGWAL003)_-_Create_Distribution_Lists

--
/Tommy
0 Likes
Highlighted
judge4life Absent Member.
Absent Member.

Re: Creating mail enabled groups

Hello,

Thanks for the link Tommy, its great.

Regards,
Ionut Marin.

"Tommy Mikkelsen" <tm@NoDevSpAmitq.dk> wrote in message
news:ElMKk.2418$Fg1.222@kovat.provo.novell.com...
> Ionut Marin wrote:
>
>> Does anyone has a small example of how one creates (with the API) a
>> DL in GW in C?

>
> Nope, but here's one in VB though...
>
> http://developer.novell.com/wiki/index.php/TID102524_(XGWAL003)_-_Create_Distribution_Lists
>
> --
> /Tommy



0 Likes
ukdtom Absent Member.
Absent Member.

Re: Creating mail enabled groups

You're welcome


--
Tommy Mikkelsen
IT Quality A/S, Denmark
Novell Support Forums SYSOP

Sorry, but no support through email
Be a GroupWiseR, go http://www.groupwiser.net

Best Regards Tommy Mikkelsen Denmark Please Report back any success or failure, That way we all learn Sorry, but no support through email "I hate bugs".......Tommy Lee Jones, MIB
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.