-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diferent usernames #11
Comments
Not quite sure I follow your question/comment. Are you trying to query a user's information using a different user's credentials? |
I know this question is old, but I'd say if I understand correctly yes it is possible use different credentials, you would just need to create a second instance of the class with the new credentials. Also I believe this would not be part of this code, but would be in the calling script. |
where do i register to get user and password? |
Hi, You mean to set these variables?: $sugar->setUsername('user'); In this case the user must be registered in SugarCRM to which you are Regards, Roman Nique Lysenko | Arquitecto de Software
2015-03-31 3:59 GMT-05:00 kendantinio [email protected]:
|
it's possible to send a diferent $username and $password to get de associated data to this user, with php pass parameters to Sugar_REST like:
$username= $_GET['usr'];
$password = $_GET['pwd'];
Example: example.php&usr=aaaaa&pwd=bbbbb
The text was updated successfully, but these errors were encountered: