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 |
Retrieving & Validating User Information
Once a user has been created, the user's details can be retrieved using a web service call. The User ID field in the AdministrationPerson object is used to identify the user. As a result, a populated AdministrationPerson object will be returned. For security reasons, passwords will not be returned and will be NULL
. User information can also be validated against the application in this section.
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 |
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 |
...
title | GETUSERFROMSEARCH |
---|
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. |
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 |
Manipulating User Information
A user's details can be modified at a later time using a web service call. The User ID field in the AdministrationPerson object is used to identify the user, so this cannot be changed. The rest of the fields within an AdministrationPerson object are populated with the new changes. For security reasons, the user's password cannot be changed with this web service call, but with a separate CHANGEPASSWORD function (below).
...
title | UPDATEUSER |
---|
...
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
Once a user has been created, the user's details can be retrieved using a web service call. The User ID field in the AdministrationPerson object is used to identify the user. As a result, a populated AdministrationPerson object will be returned. For security reasons, passwords will not be returned and will be NULL
. User information can also be validated against the application in this section.
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.
The response returned will contain these parameters:
|
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
A user's details can be modified at a later time using a web service call. The User ID field in the AdministrationPerson object is used to identify the user, so this cannot be changed. The rest of the fields within an AdministrationPerson object are populated with the new changes. For security reasons, the user's password cannot be changed with this web service call, but with a separate CHANGEPASSWORD function (below).
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:
|
This code will return an AdministrationPerson object with the user's details and SUCCESS
in the rs.getStatusCode()
, otherwise it will return an error message explaining why the process failed.
Expand | |||
---|---|---|---|
| |||
The following code will call the Yellowfin web service and change the password for the specified Yellowfin user:
SUCCESS in rs.getStatusCode() , otherwise it will return an error explaining why the process failed. |
Retrieving Objects Belonging to a User
...