digipassQuery (Command)
  • 18 Dec 2024
  • 4 Minutes à lire
  • Sombre
    Lumière
  • PDF

digipassQuery (Command)

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

The digipassQuery command allows to query authenticators that match specified search criteria.

Parameters

  Table:  digipassQuery input parameters (SOAP administration)
Parameter nameData typeDescription
sessionIDString

Required. The session identifier of the current administrative session. The logon command returns this identifier after a successful logon (see  logon (Command)).

attributeSetDigipassAttributeSet

Required. A set containing zero or more attribute fields that specify the query search criteria. See  DigipassAttributeSet (Data type).

fieldSetDigipassFieldSet

Optional. Specifies the attribute fields to be returned for all the records matching the search criteria. See  DigipassFieldSet (Data type).

If fieldSet is omitted, all possible output parameters are returned. If an authenticator attribute field is not set in the database, it is not returned for that specific authenticator record.

queryOptionsDigipassQueryOptions

Optional. Options to determine what results should be returned. See  DigipassQueryOptions (Data type).

  Table:  digipassQuery output parameters (SOAP administration)
Parameter nameData typeDescription
resultsDigipassQueryResults

Required. Result structure containing return and status codes and a list of zero or more result attribute fields. See  DigipassQueryResults (Data type).

DigipassAttributeSet (Data type)

The attributes specified in this attribute set define the search criteria.

Search attribute fields are interpreted as follows:

  • A wildcard character (*) can be added to the values at the start, the end, or both. In this case, they will be interpreted as the SQL LIKE statement.
  • A list of comma-separated values can be specified for the DIGIPASSFLD_DOMAIN and DIGIPASSFLD_DPTYPE attributes. In this case it will be interpreted as the logical OR of the given values. Note that you cannot use wildcard characters in comma-separated values!
  • Otherwise, the search will be done using the exact match of the given value.
  Table:  DigipassAttributeSet (Data type)
Element nameData typeDescription
attributesDigipassAttribute

Attributes specifying the authenticator query search criteria (see Table: DigipassAttribute (Data type)).

  Table:  DigipassAttribute (Data type)
Element nameData typeDescription
attributeOptionsAttributeOptions

Specifies how to handle the attribute value during request processing, where each option is added as a single element to attributeOptions, e.g.:

  <negative>true</negative>

Supported values:

  • negative. Indicates that the specified user attribute value should not be equal to the one specified.
  • null. Indicates that the specified attribute should be handled as zero-value.
valueAnyThe attribute value. The data type has to be specified by setting the xsi:type XML attribute.
attributeIDDigipassAttributeIDEnumThe attribute identifier (see Table: digipassQuery (Supported input attributes)).
  Table:  digipassQuery (Supported input attributes)
Attribute nameOptionality
DIGIPASSFLD_ACTIVE_APPL_NAMESOptional
DIGIPASSFLD_ACTIVE_APPL_TYPESOptional
DIGIPASSFLD_ASSIGN_STATUSOptional
DIGIPASSFLD_ASSIGNED_USER_ORG_UNITOptional
DIGIPASSFLD_ASSIGNED_USERIDOptional
DIGIPASSFLD_DEVICE_IDOptional
DIGIPASSFLD_DEVICE_PNIDOptional
DIGIPASSFLD_DIRECT_ASSIGN_ONLYOptional
DIGIPASSFLD_DOMAINOptional
DIGIPASSFLD_DPTYPEOptional
DIGIPASSFLD_EXPIRATION_TIMEOptional 1)
DIGIPASSFLD_EXPIREDOptional
DIGIPASSFLD_GRACE_PERIOD_EXPIREDOptional
DIGIPASSFLD_GRACE_PERIOD_EXPIRESOptional
DIGIPASSFLD_LICENSE_SERNOOptional
DIGIPASSFLD_ORGANIZATIONAL_UNITOptional
DIGIPASSFLD_PENDING_OPERATION_IDOptional
DIGIPASSFLD_PROV_ACTIV_COUNTOptional
DIGIPASSFLD_SEARCH_DOWN_OU_PATHOptional
DIGIPASSFLD_SEARCH_UP_OU_PATHOptional
DIGIPASSFLD_SERNOOptional
DIGIPASSFLD_START_TIMEOptional
DIGIPASSFLD_TO_EXPIRATION_TIMEOptional
DIGIPASSFLD_TO_SERNOOptional
DIGIPASSFLD_TO_START_TIMEOptional 2)
DIGIPASSFLD_TOP_ORGANIZATIONAL_UNITOptional

For more information about the specific attributes, see Table: digipassExecute field attributes.

DigipassFieldSet (Data type)

The attributes specified in the fieldSet parameter specify the authenticator attribute fields that should be returned by OneSpan Authentication Server for the authenticator records matching the search criteria.

If fieldSet is omitted, all possible output parameters are returned. If an attribute field is not set in the database, it is not returned for that specific record.

  Table:  DigipassFieldSet (Data type)
Element nameData typeDescription
attributeIDDigipassAttributeIDEnum

The identifier of an attribute to return (see Table: digipassQuery (Supported output attributes)).

  Table:  digipassQuery (Supported output attributes)
Attribute nameReturned?
DIGIPASSFLD_ACTIV_COUNTIf defined
DIGIPASSFLD_ACTIV_LOCATIONS

If defined

DIGIPASSFLD_ACTIVE_APPL_NAMESIf defined
DIGIPASSFLD_ACTIVE_APPL_TYPESIf defined
DIGIPASSFLD_ASSIGN_STATUSIf defined
DIGIPASSFLD_ASSIGNED_DATEIf defined
DIGIPASSFLD_ASSIGNED_USER_ORG_UNITIf defined
DIGIPASSFLD_ASSIGNED_USERIDIf defined
DIGIPASSFLD_BACKUP_VDP_ENABLEDIf defined
DIGIPASSFLD_BACKUP_VDP_EXPIRESIf defined
DIGIPASSFLD_BACKUP_VDP_USES_LEFTIf defined
DIGIPASSFLD_DEVICE_IDIf defined
DIGIPASSFLD_DEVICE_PNIDIf defined
DIGIPASSFLD_DIRECT_ASSIGN_ONLYIf defined
DIGIPASSFLD_DOMAINIf defined
DIGIPASSFLD_DPSOFT_PARAMS_IDIf defined
DIGIPASSFLD_DPTYPEIf defined
DIGIPASSFLD_EXPIRATION_TIMEIf defined
DIGIPASSFLD_EXPIREDAlways
DIGIPASSFLD_GRACE_PERIOD_EXPIREDAlways
DIGIPASSFLD_GRACE_PERIOD_EXPIRESIf defined
DIGIPASSFLD_LAST_ACTIV_TIMEIf defined
DIGIPASSFLD_LICENSE_SERNOIf defined
DIGIPASSFLD_ORGANIZATIONAL_UNITIf defined
DIGIPASSFLD_PENDING_OPERATION_IDIf defined
DIGIPASSFLD_PROV_ACTIV_COUNTIf defined
DIGIPASSFLD_SERNOIf defined
DIGIPASSFLD_START_TIMEIf defined

For more information about the specific attributes, see Table: digipassExecute field attributes.

DigipassQueryOptions (Data type)

This data type determines what results should be returned.

  Table: QueryOptions (Data type)
Element nameData typeDescription

count

Boolean

Flag to request OneSpan Authentication Server to return only the number of records in the result set, but not the result set itself.

Default value: false

distinct

Boolean

Flag to request OneSpan Authentication Server to return only unique query results.

Default value: false

rowcount

Unsigned Integer

Option to request OneSpan Authentication Server to return the specified number of result records, beginning with the record specified by rowoffset.

If set to 0, all result records are returned.

Default value: 0

rowoffset

Unsigned Integer

Option to request OneSpan Authentication Server to return result records starting from the specified offset. Can only be used together with rowcount.

Default value: 0

sortfieldidString

Optional. Required if you specify SortOrder. Determines the field attribute to use as sort key when sorting the result set using SortOrder. May contain any field attribute from the FieldSet parameter.

sortorderString

Optional. Determines the sort order of the result set. By default, the result set is unsorted.

Possible values:

  • QUERYOPTIONSORTORDER_ASCENDING. Result set in ascending order.
  • QUERYOPTIONSORTORDER_DESCENDING. Result set in descending order.

DigipassQueryResults (Data type)

  Table:  DigipassQueryResults (Data type)
Element nameData type

Description

resultCodes

ResultCodes

Required. The result and status codes returned by the command.

For more information, refer to the OneSpan Authentication Server SDK Programmer's Guide, Section "Error and Status Codes".

resultAttributeDigipassAttributeListRequired. A list containing the queried authenticator attributes. Each item is of type DigipassAttributeSet (see  DigipassAttributeSet (Data type)).
resultCountIntegerRequired. The number of items in resultAttribute.
errorStackErrorStackRequired. The error stack, indicating that the command has not completed successfully.

Example

 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Header/>
  <SOAP-ENV:Body>
    <adm:digipassQuery xmlns:adm= "http://www.vasco.com/IdentikeyServer/IdentikeyTypes/Administration" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <sessionID>3JSK8cmRjw4E30wAA=0nUTL-~3fmifTO</sessionID>
      <attributeSet>
        <attributes>
          <value xsi:type="xsd:string">VDS0000001</value>
          <attributeID>DIGIPASSFLD_SERNO</attributeID>
        </attributes>
      </attributeSet>
      <fieldSet>
        <attributeID>DIGIPASSFLD_SERNO</attributeID>
        <attributeID>DIGIPASSFLD_ASSIGNED_USERID</attributeID>
      </fieldSet>
    </adm:digipassQuery>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Requirements

Required administrative privileges:

  • View DIGIPASS

Additional considerations

After upgrading OneSpan Authentication Server, server data is continuously migrated while the already-upgraded OneSpan Authentication Server service is running. Until data migration has been completed, the result of a query command may be incomplete and may include both migrated and non-migrated data. This means that values for new data fields may be missing or not set correctly in the query result.

1) Querying for explicit values is not supported if Active Directory is used as data store.

2)Querying for explicit values is not supported if Active Directory is used as data store.


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle