Custom extensions
BioClient.Web allows developers to inject custom injections into the command processing queue of the BioClient service.
Currently, BioClient.Web offers these verb extensions:
get-current-user
This method returns the name of the current user. This is not the user (or service account) executing the service, but the user currently logged in and using the active desktop of the workstation. The current user name is conventient to associate the user with a biometric identity.
Usage
Call the Javascript method bioClient.get_current_user().
This method is defined bioclient-plugin.js and calls build_get_current_user to build the BioClient.Web command, and calls get_current_user to process the response.
See The BioClient Javascript plugin for information on how to use and customise the BioClient Javascript plugin.
Input parameters
| Parameter | Type | Value | Remark |
|---|---|---|---|
| command | string | get-current-user | The command to be executed. |
Output parameters
| Parameter | Type | Value | Remark |
|---|---|---|---|
| command | string | get-current-user | The command which was executed. |
| status | string | Success | The success or failure status. |
| user | string | The name of the current user. | |
| machine | string | The name of the current workstation. |
References
- See The BioClient Javascript plugin for how to use the BioClient Javascript plugin.
- See Common parameters for common input and output structures and arrays.