Skip to main content
Home

Search form

Menu

Search form

  • Overview
  • How To videos
  • Getting Started with SkyVault
  • Using SkyVault
  • Customizing
  • Programming
    • Integrating your application with SkyVault
    • Designing your application
    • Programming with CMIS
    • Programming with the repository
    • Programming with SkyVault services
    • Programming with Surf
    • Web Scripts
    • Scripting API
      • Root objects
      • ScriptNode Object API
      • Search API
      • People API
        • createPerson
        • deletePerson
        • createGroup
        • deleteGroup
        • getMembers
        • addAuthority
        • removeAuthority
        • getContainerGroups
        • isAdmin
        • isGuest
        • changePassword
        • setPassword
        • enableAccount
        • disableAccount
        • isAccountEnabled
        • setQuota
        • getPeople
        • getPerson
        • getGroup
        • getCapabilities
        • getImmutableProperties
      • Actions API
      • ScriptAction API
      • Logging API
      • Session API
      • Classification API
      • AVM API
      • WCM Web Projects
      • Utility methods
    • Services API
  • Copyright
  • Disclaimer
  • You are here

    SkyVault Enterprise 4.1.10 » Programming » SkyVault API Reference » Repository 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