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

    setPassword

    setPassword(userName, password) sets the password for the given user. It is only executable by an Administrator authority.

    Parameters

    userName
    A string representing the user name of the user to set the password for.
    password
    A string representing the password to assign for the user specified.

    Example

        people.setPassword("joe.user", "newpwd");        
          
    Parent topic: People API

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