Page History
...
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service to create a user:
This code will return This function will create a user in Yellowfin. The details in the AdministrationPerson object will be used in the user creation process.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service to create a user:
This code will return This function will delete a user from Yellowfin. The details in the AdministrationPerson object will be used in the user deletion process.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Retrieving & Validating User Information
...
Expand | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service to retrieve a user's details:
This code will return an AdministrationPerson object with the user's details and This function will retrieve the details of a particular user in Yellowfin. The details in the AdministrationPerson object will be used in the retrieval process.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service to retrieve a user's details via their internal IpId:
This code will return an AdministrationPerson object with the user's details and This function will retrieve the details of a particular user in Yellowfin by looking up their IP ID. The details in the AdministrationPerson object will be used in the retrieval process.
These are the parameters that you need to set in the AdministrationPerson object:
IpId|Integer|IP ID of the Yellowfin User|setIprId()| The response returned will contain these parameters:
|
Expand | |||
---|---|---|---|
| |||
This function will retrieve users from Yellowfin based on a specific search string. This string is compared against the user's first name, last name, and email address.
|
...
Setting Code
|
...
setLoginId()
|
...
|
...
|
...
|
...
setParameters()
The response returned will contain these parameters:
|
...
|
...
getStatusCode()
|
...
getPeople()
Expand | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service to validate a user:
This code will return an AdministrationPerson object of the particular user if successful; otherwise it will return an error message explaining why the user validation process failed. This function will validate a specified Yellowfin user, checking if the user currently exists within the application. The details in the AdministrationPerson object will be used in the user validation process.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service to validate a user's password:
This code will check if the password is expired and will return This function will validate a Yellowfin user's password. The details in the AdministrationPerson object will be used in the password validation process.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Manipulating User Information
...
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service to edit a user's details:
This code will return an AdministrationPerson object with the user's details and This function will update a specified Yellowfin user's details. The details in the AdministrationPerson object will be used in the update process.
These are the parameters that you can set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and change the password for the specified Yellowfin user:
The code will return This function will change a specified Yellowfin user's password.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Retrieving Objects Belonging to a User
...
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and return all reports with a Web Services Name that are accessible for the particular user:
This code will return an Array of AdministrationReport objects in |
...
title | GETALLUSERREPORTS |
---|
...
This function will return all reports with a webservice name that are accessible for the |
...
specified Yellowfin user.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and return all reports that are accessible for the particular user:
|
Code Block |
---|
AdministrationServiceRequest rsr = new AdminstrationServiceRequest();
AdministrationServiceResponse rs = null;
AdministrationPerson person = new AdministrationPerson();
Person.setUserId("testuser@yellowfin.com.au");
rsr.setLoginId(this.username);
rsr.setPassword(this.password);
rsr.setOrgId(new Integer(1));
// uncomment line below and set Client Reference ID if user belongs to a client organisation
// rsr.setOrgRef("CLIENTREFERENCEIDHERE");
rsr.setFunction("GETALLUSERREPORTS");
rsr.setPerson(person);
rs = AdministrationService.remoteAdministrationCall(rsr);
|
This code will return an Array of AdministrationReport objects in rs.getReports()
and SUCCESS
in rs.getStatusCode()
, otherwise it will return an error message explaining why the process failed.
...
title | GETREPORTSWITHCOMMENTS |
---|
The following code will call the Yellowfin web service and return all commented reports that are accessible for the particular user:
...
|
...
This code will return an Array of AdministrationReport objects in |
...
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and return all report favourites that are accessible for the particular user:
This code will return an Array of AdministrationReport objects in |
...
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
|
...
The following code will call the Yellowfin web service and return all commented reports that are |
...
accessible for the particular user |
...
:
|
...
This code will return an Array of AdministrationReport objects in |
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and return all dashboard tabs without reports that are accessible for that particular user:
This code will return an Array of AdministrationReportGroup objects in |
...
title | GETUSERTABSWITHREPORTS |
---|
The following code will call the Yellowfin web service and return all dashboard tabs with reports that are accessible for that particular user:
...
This function will return all commented reports in Yellowfin that are accessible by the specified Yellowfin user.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | ||
---|---|---|
| ||
The following code will call the Yellowfin web service and return all report favourites that are accessible for the particular user:
|
...
This code will return an Array of AdministrationReport objects in This function will return all the favourite reports of a specified Yellowfin user.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and return all reports that are in the particular user's inbox:
This code will return an Array of AdministrationReport objects in This function will return the reports that are in the inbox of a specified Yellowfin user.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and return all dashboard tabs without reports that are accessible for that particular user:
This code will return an Array of AdministrationReportGroup objects in This function will return a list of dashboard tabs that are accessible by the specified Yellowfin user.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||
The following code will call the Yellowfin web service and return all dashboard tabs with reports that are accessible for that particular user:
This code will return an Array of AdministrationReportGroup objects in This function will return a list of dashboard tabs that are accessible by the specified Yellowfin user, with the reports' metadata loaded as well. The metadata for every report in the dashboard tab is contained within the AdministrationReportGroup object.
These are the parameters that you need to set in the AdministrationPerson object:
The response returned will contain these parameters:
|
Expand | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||
This function will return a list of reports contained within a specified dashboard tab, that is accessible by a specified user in Yellowfin.
These are the parameters that you need to set in the AdministrationPerson and AdministrationReportGroup object:
The response returned will contain these parameters:
|
This code will return an Array of AdministrationReportGroup objects in rs.getReportGroups()
and SUCCESS
in rs.getStatusCode()
, otherwise it will return an error explaining why the process failed.
...
Group & Role Administration
...