Connect. Communicate. Collaborate. Securely.

Home » Developer Zone » API/SDK Writers » change user password (How can i change the password via PHP Api)
  •  
12Sync_de is currently offline 12Sync_de

Messages: 16

IP: 84.133.62.29
Karma: 0
How can i change the password of an users account via PHP Admin API?

Which parameter needed?
Or how can i get a list of these parameters?

thanks in advance

BR
  •  
Brian (GFI/Kerio) is currently offline Brian (GFI/Kerio)

Messages: 789
IP: 68.68.103.2
Karma: 82
Have a look at this KB article http://kb.kerio.com/product/kerio-api/inspecting-kerio-api-c ommunication-in-a-web-browser-1989.html
It explains how you can use your browser to capture the API query for any administrative action (e.g. such as updating a user's password).

Brian Carmichael
Instructional Content Architect
  •  
12Sync_de is currently offline 12Sync_de

Messages: 16

IP: 84.133.62.29
Karma: 0
big thanks @Brian

i've got it:

$SetParams = array(
                        'userIds' => array(
                            $UserId
                        ),

                        'pattern' => array(
                            'password' => $Password                       )
                    );
    $SetResult = $api->sendRequest('Users.set', $SetParams);
  •  
Brian (GFI/Kerio) is currently offline Brian (GFI/Kerio)

Messages: 789
IP: 68.68.103.2
Karma: 82
Awesome, I'm glad the article was helpful.

Brian Carmichael
Instructional Content Architect
Previous Topic: Online availability of API documentation
Next Topic: set signature over the API
Goto Forum:
  

 ] [ PDF ]

Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sun Dec 17 05:09:50 CET 2017

Total time taken to generate the page: 1.17103 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.