getOperatorDetails(userID)
Obtains the glimpse data of a specified user.
Returns
The glimpse data as a Promise.
Parameters
Name | Type | Description | Required |
userID | string | The ID of the user whose glimpse data must be obtained. | ✅ |
Usage example
In this example, the API obtains the data of a user whose ID is
[email protected]
.
PCore.getUserApi().getOperatorDetails('[email protected]')
.then(() => {
// success
}).catch(err => {
// errors
});
Previous topic APIs in the UserApi module Next topic APIs in the ViewResources module