BLACKBAUD.api.UserService Provides methods for retrieving information about the currently logged in BBIS user from the CRM using calls to the BBIS REST services.
new UserService(options)
| Name | Type | Description |
|---|---|---|
options
|
Object | An object literal containing one or more of the following optional properties:
|
Methods
getProfile(successCallback, failureCallback)
Returns profile information for the current user. If the user is not logged in, then it may be populated based on the current email-recipient information.
| Name | Type | Description |
|---|---|---|
successCallback
|
function | The function to call if the request succeeds. The
function will be passed an object with the following properties:
|
failureCallback
|
function | The function to call if the request fails. |