Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: Rajnish@49 on April 20, 2019, 09:59:40 PM

Title: Get Allowed permission for an agent using WDE SDK.
Post by: Rajnish@49 on April 20, 2019, 09:59:40 PM
Hello All,

I have created a custom task to integrate WDE with SAP C4S. Data communication between WDE and SAP C4S is working fine. But one last piece to Read assigned/allowed actions/privilege to agent. Any help how to get allowed privilege using WDE SDK.

Appreciate your support!!

Thanks,
Rajnish
Title: Re: Get Allowed permission for an agent using WDE SDK.
Post by: Rajnish@49 on April 23, 2019, 09:23:19 AM
I have got it working using below statement

string Permission=(string)configManager.getvalues("InteractionWorkspace.Chat.canDeclineChat");

Returns 1 If is is allowed. Else it return blank or empty string.


Thanks,
Rajnish
Title: Re: Get Allowed permission for an agent using WDE SDK.
Post by: Kubig on April 23, 2019, 10:34:44 AM
This returns just information about assigned roles, but nothing about assigned privileges and permissions.