How to Change the Terminal Administrator's Login Password: Difference between revisions

From wizarPOS
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/settings-menu/change-administrators-login-password}}")
Tag: Replaced
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Provides the AIDL interface to help the third-party app to manage the admin password.
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/settings-menu/change-administrators-login-password}}
== Permission ==
The app declares the following permission in the manifest.
{| class="wikitable"
|-
! Permission !! Function
|-
| android.permission.ADMIN_PWD_MODIFY|| modify admin password
|-
| android.permission.ADMIN_PWD|| get admin password
|-
| android.permission.ADMIN_PWD_RESET|| reset admin password
|}
 
== API Overview==
=== <big>Modify</big> ===
  <syntaxhighlight lang="java">boolean modifyAdminPwd(String oldPwd, String newPwd);</syntaxhighlight >
Modifies admin password.
 
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Parameters
|-
| oldPwd || '''String:''' old admin password.
|-
| newPwd || '''String:'''  new admin password.
|}
{|
|-
|}
{|class="wizarpostable"
|-
!  scope="row" colspan="2" | Returns
|-
|  boolean || true is success, false is failure.
|}
 
=== <big>Is admin password</big>===
  <syntaxhighlight lang="java">boolean isAdminPwd(String pwd);</syntaxhighlight >
Returns true if the pwd is the real admin password.
 
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Parameters
|-
| pwd || '''String:''' admin password.
|}
{|
|-
|}
{|class="wizarpostable"
|-
!  scope="row" colspan="2" | Returns
|-
|  boolean || true is success, false is failure.
|}
 
=== <big>Reset</big> ===
  <syntaxhighlight lang="java">boolean reset(String pwd);</syntaxhighlight >
Resets admin password.
 
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Parameters
|-
| pwd || '''String:''' the real admin password.
|}
{|
|-
|}
{|class="wizarpostable"
|-
!  scope="row" colspan="2" | Returns
|-
|  boolean || true is success, false is failure.
|}
 
== Download ==
Please download the [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/AdminPwdDemo.zip whold project demo]

Latest revision as of 08:52, 7 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/settings-menu/change-administrators-login-password

We're making a move! Our site's content is migrating to a new URL, to provide you with an enhanced browsing experience. Please update your bookmarks accordingly. Thank you for your continuous support!