In arplugin.h there are three new api-calls, does not seems to be documented

---------------------------------
/* These api calls can be invoked only from a plugin. */

EXTERN_FUNCTION (int ARSetUserNameSource, (
               ARControlStruct*,                  /* IN; control struct */
               AR_PLUGIN_GETUSER_FUNCTION,        /* IN; function ptr
to fetch username */
               ARStatusList*                      /* OUT; status of
the operation */));

EXTERN_FUNCTION (int ARSetAuthStringSource, (
               ARControlStruct*,                  /* IN; control struct */
               AR_PLUGIN_GETAUTHSTRING_FUNCTION,  /* IN; function ptr
to fetch authstring */
               ARStatusList*                      /* OUT; status of
the operation */));

EXTERN_FUNCTION (int ARSetNativeAuthenticationSource, (
               ARControlStruct*,                  /* IN; control struct */
               AR_PLUGIN_GETUSERAUTHINFO_FUNCTION,/* IN; function ptr
to fetch authinfo */
               ARStatusList*
-----------------------

--
Jarl

On 8/7/06, Misi Mladoniczky <[EMAIL PROTECTED]> wrote:
Jarl,

Not really...

It enables me to login to the ARServer as an Admin-user and then access
the ARServer as if I was another user. It can not return any information.

In this case, I would need the end-users login name in the plugin. I have
no need to do a callback to the ARServer and impersonate a user. I need
the user-name to use when calling the external resource, in this case
Documentum.

       Best Regards - Misi, RRR AB, http://www.rrr.se

> Misi,
>
> Would not the new api call, ARSetImpersonatedUser, give you the user
> acessing the plugin?
>
> --
> Jarl
>
> On 8/7/06, Misi Mladoniczky <[EMAIL PROTECTED]> wrote:
>> Hi Alexander,
>>
>> I created a Vendor Plugin (ARDBC) to Documentum. It only handled
>> searches,
>> as this was the requirement. In other words mainly supports set-fields
>> from Documentum and use of Table Fields to display search results.
>>
>> Viewing, adding and changing documents were done through the
>> web-interface
>> in Documentum. You can easily create direct access urls to existing
>> documents.
>>
>> There were two major obstacles to the integration.
>>
>> 1. Documentum uses 16 character unique identifiers. The ARSystem API can
>> only handle 15 characters. This was kind of awkward...
>>
>> 2. If you want to get/set/create documents directly in Remedy, you will
>> have problems of enforcing Documentum permissions, as the plugin would
>> connect to Documentum with a fixed user account.
>> There is no straight forward way within the ARDBC-API, that I know of,
>> to
>> get the login name of the user performing the call...
>>
>>        Best Regards - Misi, RRR AB, http://www.rrr.se
>>
>> > Has anyone done any type of integration between Documentum and Remedy,
>> > preferably searched attachments in Documentum through Remedy, add
>> > documents
>> > to Documentum through Remedy and display documents in Documentum in
>> Remedy
>> >
>> >
>> >
>> > Alexander P. Gray
>> >
>> > Operations Planning Manager, ITS/ICS
>> > COE, Infrastructure & Technology
>> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>> > -----------------------------------
>> > 703. 676. 2375 (office)
>> > 703. 932. 9979 (nextel)
>> > 703. 676. 2931 (fax)
>> >
>> >
>> >
>> >
>> > 
_______________________________________________________________________________
>> > UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
>> >
>>
>> 
_______________________________________________________________________________
>> UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
>>
>
> 
_______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to