Genesys CTI User Forum > Genesys-related Development

WFM API - find roles of user

(1/1)

rolf_b:
Hello,

I've been given the task to create a "year overview" for Timeoff-Entries in WFM, and for this, I need to check the role of the user. Team leaders and Department leaders shall see more things than agents.

In WFM Supervisor Web, there are roles for this. The leaders get the appropriate role, and receive the

But I cannot find an API function and no database table that associates agents (or users) with roles. There should be an association, since the WFM Supervisor Web allows me to select a role and assign users. But how to obtain it?

Any help appreciated
Rolf

xember:
WFMConfigService852Soap config = getCfgService();

CfgSortMode sortMode = new CfgSortMode();
CfgSecurityRoleDetails details = new CfgSecurityRoleDetails();
details.setInfoType(ECfgInfoType.CFG_INFO_OBJECT);

CfgSecurityRoleHolder roleHolder = config.getSecurityRole(null, sortMode, details);

Navigation

[0] Message Index

Go to full version