Can users from Client Orgs run Admin Web Service calls?

Yellowfin FAQ shared this question 5 years ago
Answered

I'm trying to run some admin web service calls from an admin user in the client org, but's just not authenticating correctly.

If I use a user from the default org, it just works.

Can users from Client Orgs run Admin Web Service calls?

Replies (1)

photo
1

No, admin web service calls can only be run by a user who has default org access.

This is simply best practice as there should not be cases where a user who has the ability to make changes system wide would only exist within a client org.


For example, in the below code it's the parameter passed in the method rsr.setLoginId():


AdministrationServiceRequest rsr = new AdministrationServiceRequest(); AdministrationServiceService ts = new AdministrationServiceServiceLocator("localhost", 9071, "/services/AdministrationService", false); AdministrationServiceSoapBindingStub rssbs = (AdministrationServiceSoapBindingStub) ts.getAdministrationService();

rsr.setLoginId("user1client1@yellowfin.com.au");


This means that if you want that user to be in Client Org 1, it is not enough to have that user in that org, he will also have to be a member of the Default Org.


For more information on web services, please check out our wiki here, and feel free to send through any additional questions you may have.


Regards,

Mike

Replies have been locked on this page!