Skip to main content
Home

Search form

Menu

Search form

  • What's new in SkyVault Content Services
  • Supported Platforms
  • Video tutorials
  • Using SkyVault Share
  • SkyVault SDK 3.0
  • API guide
    • API overview
    • Use Cases
    • Java API
    • JavaScript API
      • About script files
      • Root objects
      • Scripting API
        • ScriptNode API
        • Actions API
        • Classification API
        • Logging API
        • People API
          • addAuthority
          • changePassword
          • createGroup
          • createPerson
          • deleteGroup
          • deletePerson
          • disableAccount
          • enableAccount
          • getCapabilities
          • getContainerGroups
          • getExcludeTenantFilter
          • getGroup
          • getImmutableProperties
          • getMembers
          • getPeople
          • getPeoplePaging
          • getPeopleEvaluationMode
          • getPerson
          • getPersonFullName
          • isAccountEnabled
          • isAdmin
          • isGuest
          • removeAuthority
          • setPassword
          • setQuota
          • setStoreUrl
        • ScriptAction API
        • Search API
        • Session API
        • SessionTicket API
        • Utility methods
      • Services API
    • FreeMarker API
    • Spring Surf API
  • Extension packaging - modules
  • Platform extensions
  • Platform integrations
  • Share extensions
  • Copyright
  • You are here

    SkyVault Content Services 5.2 » Developer guide » API guide » SkyVault Content Services API Reference » JavaScript API » Scripting API » People API

    changePassword

    changePassword(oldpassword, newpassword) changes the password for the current user only when the old password is supplied.

    Parameters

    oldpassword
    A string representing the currently logged in user's current password.
    newpassword
    A string representing the currently logged in user's new password.

    Example

      people.changePassword("oldpwd", "newpwd");
          
    Parent topic: People API

    © 2017 TBS-LLC. All Rights Reserved.    Follow @twitter