Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: fabio.meschini on February 19, 2015, 05:19:46 PM
-
Hi all,
i'm trying to change password performing the request named [b]RequestChangePassword[/b]
but i always receive an event error with this description. "User is not allowed to change the password at this account". I've tried to change on CME some permissions to the person used on protocol for connecting but i can't understand the way to solve this error.
Can anybody can help me?
Thank you in advance,
Fabio
-
Check CfgServer
Guess the user under which your app is running is the one who should be able to change the password
-
[quote author=fabio.meschini link=topic=8722.msg38712#msg38712 date=1424366386]
Hi all,
i'm trying to change password performing the request named [b]RequestChangePassword[/b]
but i always receive an event error with this description. "User is not allowed to change the password at this account". I've tried to change on CME some permissions to the person used on protocol for connecting but i can't understand the way to solve this error.
Can anybody can help me?
Thank you in advance,
Fabio
[/quote]
OP. Did you manage to get around this?
-
You have to enable change the password to the users through configuration on framework level (confserv)
-
Can`t you query the person?
CfgPersonQuery persq = new CfgPersonQuery();
persq.setUserName("username");
try {
CfgPerson pers = confService.retrieveObject(persq);
pers.setPassword("newpassword");
pers.save();
} catch (ConfigException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}