Author Topic: setUserAlias fucntion for Ondemand  (Read 2361 times)

yousuf_gani

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
setUserAlias fucntion for Ondemand
« on: March 05, 2015, 09:41:12 AM »
Hi,
Require Some Details About the setUserAlias() parameter how it will work for the OD System Log report and access the SEARCH/RETRIEVAL query through the Web-Client.

As we have a requirement to have the real user (End-User) info who is quering and retriving the Ondemand docs through a thin-Clinet(ODWEK) instead of displaying in the system log the CMOD User in the USERID field(like ADMIN or something else).

Any Insight of this Please help...

Thanks
Mohd Yousuf gani..

tnvpandian

  • Guest
Re: setUserAlias fucntion for Ondemand
« Reply #1 on: March 17, 2015, 03:37:38 PM »
Hi Yousuf,

If the method setUserAlias("userid") has been invoked, in the system log, the alias name will be appended to the actual cmod system id (pattern : CMOD ID - ALIAS NAME) under User id column.

We can invoke setUserAlias API more than 1 times for a single ODServer object. With that said, assume 2 different users are trying to access cmod and inside your java service/class both requests are being served by single odserver object. In this case, we can differentiate the user requests in cmod systemlog if we set the Alias.


Thanks,
TNVP..
« Last Edit: March 17, 2015, 03:40:31 PM by tnvpandian »

yousuf_gani

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: setUserAlias fucntion for Ondemand
« Reply #2 on: March 18, 2015, 08:48:37 AM »
Thanks a lot for the response, That helps to understand the the feature of SetuserAlias