Results 1 to 4 of 4

Thread: Get a user guid with SOAP

  1. #1
    lancasterlad is offline Junior Member
    Join Date
    Oct 2008
    Posts
    2

    Default Get a user guid with SOAP

    Hi,

    I want to get a users GUID via SOAP where I know the user_name. Using php and am creating new leads ok using SOAP.

    What I want to do is assign each lead to a specific user rather than the 'logged in SOAP user'

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Get a user guid with SOAP

    Hi lancasterlad

    You can use the get_entry soap function.
    In this function you specify the module (Users), the where_clause (user_name = 'the_user_name') and the selected_fields (id)

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    lancasterlad is offline Junior Member
    Join Date
    Oct 2008
    Posts
    2

    Default Re: Get a user guid with SOAP

    I read elsewhere on this forum that get_entry or get_entry_list will NOT extract data from the Users module for security reasons. Is that correct?

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Get a user guid with SOAP

    Hi lancasterlad

    Definitely NO!!

    We were able to modify fields into Users module through SOAP, including the user password, without any bid deal.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SOAP interface for creating user?
    By mizzle in forum Developer Help
    Replies: 5
    Last Post: 2009-02-02, 11:56 PM
  2. Soap portal user porblem
    By jacekskowron in forum Developer Help
    Replies: 10
    Last Post: 2008-11-20, 09:08 AM
  3. Unable to set User password via SOAP
    By atomjack in forum Developer Help
    Replies: 0
    Last Post: 2008-04-17, 12:40 AM
  4. SOAP : user status and roles?
    By napx in forum Developer Help
    Replies: 0
    Last Post: 2006-04-28, 08:31 PM
  5. Cannot Login
    By Dillon in forum Help
    Replies: 16
    Last Post: 2004-10-13, 02:52 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
  •