#528 - Security Suite - SOAP API
Hi , I have been extensively using SecuritySuite in our soap calls it works as desired. but then when we try to create any record through SOAP service it dose not add the users security group.
but we noticed when we login to sugarcrm new records they get assigned to their respective groups and we need the same functionality in soap services
need help and inputs to achieve this.
Thanks, Pravin
10 years ago
The inheritance options should be working via the SOAP calls, too. What inheritance options are you using that seem not to work with SOAP?
-Jason
10 years ago
Currently i have "Inherit from Parent Record" checked true in settings. for the view purpose we are able to get the records inherited. Dose this also work for new records that are created. meaning Account is the record that has the "primary module" for which the security groups is assigned. now he is creating a new account thorough soap call. but I dint see this security groups associating with the new accounts. same when done through the SugarCRM Login(Not soap) the group is getting attached.
10 years ago
Hi, wanted to know if the above can be achieved in security groups. please let us know.
Another Question. can I get know in what all Group the user using Soap Api. also by getting all the Security Groups.
10 years ago
What version of SugarCRM are you running? I'll need to do some testing to see what's going on. Inheritance should work fine via the SOAP API. Although there is a chance that "Inherit from Parent Record" may only work with the portal_* SOAP calls.
For the question about finding groups that a user belongs to; you may be able to do that by fetching the related records for a user.
10 years ago
Thanks for the reply we are using this version "Version 6.5.16 (Build 1082)"
10 years ago
Adding info : user is ising soap api. and not the portal_*SOAP Calls.
10 years ago
Thanks Pravin!
I'm trying to get to this, but it will be a tough 2 weeks as we get ready for SugarCon. If you don't hear back to me until after SugarCon then you'll know why. I will follow up on this.
-Jason
10 years ago
Yes, Thanks. Hope you have good time there, few of my colleagues are also getting ready to attend SugarCon. until then will wait.
10 years ago
Hopefully I'll get the opportunity to say hello to them :)
10 years ago
can we schedule an appointment, so we can have a introductory meeting :)
10 years ago
I'll be at the SugarOutfitters booth. Feel free to stop by and say hello. It would be great to meet the team.
-Jason
10 years ago
Right now i am assigning SecuGroups Programatically for Accounts using the snippet below. it worked like a charm. but the same for contacts it failed. replacing Accounts > Contacts and contactid. Please throw some light into it.
//set partner association to relation ship
$set_relationships_parameters = array(
'session' => $session,
'module_names' => array('Accounts'), 'module_ids' => array($accountid), 'link_field_name' => array('SecurityGroups'), 'related_ids' => array($security_groupID), 'name_value_list' => array(), 'delete_array'=> 0, ); $result2 = $this->client->call("set_relationships", $set_relationships_parameters);
Thanks
10 years ago
Info : we tried to hook it in logic hook. using Bean it worked. but we need it for SOAP. if any possibility seen.
Thanks, Pravin Kumar
8 years ago
This is available in the latest SecuritySuite release.
6 years ago
Hi,
I am trying to create relationship between user and roles. Users and security groups. But its not working. Can anyone help. what should be the link_field_name for users and roles. I am unable to find the relationship name in studio. and in case of users and security groups, what link_field_name to use. I find many relationships of users with security management in studio. I am confused.
Thanks Monalisa
6 years ago
Hi,
I am trying to create relationship between user and roles. Users and security groups. But its not working. Can anyone help. what should be the link_field_name for users and roles. I am unable to find the relationship name in studio. and in case of users and security groups, what link_field_name to use. I find many relationships of users with security management in studio. I am confused.
Thanks Monalisa