Results 1 to 2 of 2

Thread: How to change password of a Sugar User

  1. #1
    croyer is offline Junior Member
    Join Date
    Jul 2009
    Posts
    1

    Default How to change password of a Sugar User

    How do you programmatically change the password of a Sugar user? And what are the rules for passwords (e.g., alpha, numeric, min/max length)?

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: How to change password of a Sugar User

    You can change it by updating the user_hash column of the corresponding record with the md5 hash of whatever password you want to assign to that user.

    Sugar does not currently use any type of password policy, so it would be up to you to define and enforce it if you want one. 5.5 will provide that functionality.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Block User Password Change
    By sgharp in forum Help
    Replies: 1
    Last Post: 2009-06-22, 01:55 PM
  2. user password change
    By lobomaujp in forum Help
    Replies: 7
    Last Post: 2008-08-13, 05:36 PM
  3. password change
    By user1000 in forum Developer Help
    Replies: 7
    Last Post: 2008-07-08, 12:27 PM
  4. Replies: 1
    Last Post: 2008-06-06, 08:22 PM
  5. Is there a way to change the user/group Sugar uses with Apache
    By chucknb87122 in forum General Discussion
    Replies: 3
    Last Post: 2005-10-18, 08:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •