• Articles
Show / Hide Table of Contents
  • Getting started
    • Quickstart
  • Installation and configuration
    • Installation
    • Configuration
  • Usage
    • Web enablement
    • Javascript
    • Creating a client
  • Transact
    • Enrol an identity
    • Retrieve an identity
    • Verify an identity
    • Identify an identity
    • Update an identity
    • Delete an identity
    • Biometric samples
    • Biometric features
    • Current record
    • Manage adapters
    • Extensions
    • BioClient R2 reference
  • Reference information
    • BioClient.Web assemblies
    • BioClient adapters

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.
  • Improve this Doc
Back to top Generated by DocFX