Anonymous_User Absent Member.
Absent Member.
2222 views

PrefEMailID

I'm trying to locate the correct, official, gwadmin devel bundle that
defines the C/C++ access methods, i.e. get/put definitions, for PrefEMailID
for the User object.

The gwadmin "kit" currently posted on Novell's web site, dated 2006.02.22
or 2006.03.01 depending on if you believe the file name of the tar ball or
the date posted on the web, does not have the definitions therein.

Yet the documentation found on the same page does mention the new value.

Here's the url I'm using:

http://developer.novell.com/wiki/index.php/Gwadmin

TIA
Labels (1)
0 Likes
8 Replies
Anonymous_User Absent Member.
Absent Member.

Re: PrefEMailID

You are correct.....

StandBy....I'll ask




--
Best Regards

Tommy Mikkelsen

IT Quality A/S
Denmark

Novell Developer Forums SYSOP

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

Be a GroupWiseR, go http://www.groupwiser.net
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PrefEMailID

This is what I got back from Novell:

It should be in the gwadapi2.h header file that you
can download from the GroupWise Admin component on the NDK.

/* IADUser2 methods */
STDMETHOD(get_PrefEMailID)(THIS_ BSTR FAR* retval) PURE;
STDMETHOD(put_PrefEMailID)(THIS_ BSTR bstrPrefMailID) PURE;


--
Best Regards

Tommy Mikkelsen

IT Quality A/S
Denmark

Novell Developer Forums SYSOP

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

Be a GroupWiseR, go http://www.groupwiser.net
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PrefEMailID

Thanks for the response, but I must be misinterpreting your response cause
it seems that you're referring me back to the very set of documents that I
pointed out doesn't have the header definitions (rather it only documents
the PrefEMailID field).

Consequently, could I trouble you for a url of where you've found the
downloadable package for gwadapi2.h?

Here is the link I'm using:

http://developer.novell.com/wiki/index.php/Gwadmin

The tar.gz file therein yields only these header files:

novell> find . -type f -name "*.h"
../novell-gwadmin-devel-2006.02.22-1windows/sample/INCLUDE/gwadapi.h
../novell-gwadmin-devel-2006.02.22-1windows/sample/UserList/C++/SimpleAdmin.h
../novell-gwadmin-devel-2006.02.22-1windows/sample/UserList/C++/StdAfx.h
../novell-gwadmin-devel-2006.02.22-1windows/sample/UserList/C++/Util.h
../novell-gwadmin-devel-2006.02.22-1windows/sample/UserList/C++/gwadapi.h
novell>

IMO, here is the give way that something is amiss:

novell> find . -type f -exec grep PrefEMailID {} /dev/null \;
../novell-gwadmin-devel-2006.02.22-1windows/SDK_CHANGELOG.html:
<ul><li>Added the PrefEMailID property to the User object.</li>
novell>

Note the only reference to the new field is in an html file....
TIA


> This is what I got back from Novell:
>
> It should be in the gwadapi2.h header file that you
> can download from the GroupWise Admin component on the NDK.
>
> /* IADUser2 methods */
> STDMETHOD(get_PrefEMailID)(THIS_ BSTR FAR* retval) PURE;
> STDMETHOD(put_PrefEMailID)(THIS_ BSTR bstrPrefMailID) PURE;
>
>
> --
> Best Regards
>
> Tommy Mikkelsen
>
> IT Quality A/S
> Denmark
>
> Novell Developer Forums SYSOP
>
> 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
>
> Be a GroupWiseR, go http://www.groupwiser.net


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PrefEMailID

Damm....Just forwarded the answer I got from Novell, and
figured it simply was a newer build....

Just downloaded novell-gwadmin-devel-2006.02.22-1windows.zip, and correct,
it's not there.....

Asking again...standby


--
Best Regards

Tommy Mikkelsen

IT Quality A/S
Denmark

Novell Developer Forums SYSOP

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

Be a GroupWiseR, go http://www.groupwiser.net
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PrefEMailID

Check private email


--
Best Regards

Tommy Mikkelsen

IT Quality A/S
Denmark

Novell Developer Forums SYSOP

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

Be a GroupWiseR, go http://www.groupwiser.net
0 Likes
johnbaird Absent Member.
Absent Member.

Re: PrefEMailID

Tommy

Can you fill me in on this too?

Thanks, John

"Tommy Mikkelsen" <tm@NoDevSpAmitq.dk> wrote in message
news:z%9Yh.564$%D1.462@prv-forum2.provo.novell.com...
> Check private email
>
>
> --
> Best Regards
>
> Tommy Mikkelsen
>
> IT Quality A/S
> Denmark
>
> Novell Developer Forums SYSOP
>
> 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
>
> Be a GroupWiseR, go http://www.groupwiser.net



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: PrefEMailID

That's what friends are for 😉

Check your mailbox


--
Best Regards

Tommy Mikkelsen

IT Quality A/S
Denmark

Novell Developer Forums SYSOP

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

Be a GroupWiseR, go http://www.groupwiser.net
0 Likes
Highlighted
judge4life Absent Member.
Absent Member.

Re: PrefEMailID

Hello,

Robert, did you manage to use the get_PrefEMailID and put_PrefEMailID
functions defined in gwadapi2.h for IADUser2?
I am trying to use SetInternetDomainName from IADUser3 and I am having
problems calling the function. pIADUsers->AddExternalUser doesn't accept
DIADUser3 as its last parameter, only DIADUser. In the code below if I try
to set only the department (pIADNewUser3->put_Department(name)), the code
works.
Can you please share how you managed to use get_PrefEMailID, because they
are in IADUser2, calling them should be simmilar with calling a function
from IADUser3?

Thank you,
Ionut Marin.

pIADUsers->AddExternalUser(TO_OLE_STRING("testextuser01"), postOffice,
domain, &pDIADNewUser);

if (SUCCEEDED(pDIADNewUser->QueryInterface(IID_IADUser,
(void**)&pIADNewUser3))) {

pDIADNewUser->Release();

} else {

return -1;

}

BSTR domainName = SysAllocString(TO_OLE_STRING("yahoo.com"));


BSTR name = SysAllocString(L"yahoo");


pIADNewUser3->put_Department(name);

pIADNewUser3->SetInternetDomainName(domainName, VARIANT_FALSE);


pIADNewUser3->Commit();


<robert.c.wagner@sun.com> wrote in message
news:ZEPUh.1213$Yp.732@prv-forum2.provo.novell.com...
> Thanks for the response, but I must be misinterpreting your response cause
> it seems that you're referring me back to the very set of documents that I
> pointed out doesn't have the header definitions (rather it only documents
> the PrefEMailID field).
>
> Consequently, could I trouble you for a url of where you've found the
> downloadable package for gwadapi2.h?
>
> Here is the link I'm using:
>
> http://developer.novell.com/wiki/index.php/Gwadmin
>
> The tar.gz file therein yields only these header files:
>
> novell> find . -type f -name "*.h"
> ./novell-gwadmin-devel-2006.02.22-1windows/sample/INCLUDE/gwadapi.h
> ./novell-gwadmin-devel-2006.02.22-1windows/sample/UserList/C++/SimpleAdmin.h
> ./novell-gwadmin-devel-2006.02.22-1windows/sample/UserList/C++/StdAfx.h
> ./novell-gwadmin-devel-2006.02.22-1windows/sample/UserList/C++/Util.h
> ./novell-gwadmin-devel-2006.02.22-1windows/sample/UserList/C++/gwadapi.h
> novell>
>
> IMO, here is the give way that something is amiss:
>
> novell> find . -type f -exec grep PrefEMailID {} /dev/null \;
> ./novell-gwadmin-devel-2006.02.22-1windows/SDK_CHANGELOG.html:
> <ul><li>Added the PrefEMailID property to the User object.</li>
> novell>
>
> Note the only reference to the new field is in an html file....
> TIA
>
>
>> This is what I got back from Novell:
>>
>> It should be in the gwadapi2.h header file that you
>> can download from the GroupWise Admin component on the NDK.
>>
>> /* IADUser2 methods */
>> STDMETHOD(get_PrefEMailID)(THIS_ BSTR FAR* retval) PURE;
>> STDMETHOD(put_PrefEMailID)(THIS_ BSTR bstrPrefMailID) PURE;
>>
>>
>> --
>> Best Regards
>>
>> Tommy Mikkelsen
>>
>> IT Quality A/S
>> Denmark
>>
>> Novell Developer Forums SYSOP
>>
>> 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
>>
>> Be a GroupWiseR, go http://www.groupwiser.net

>



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.