dnsNameBagSize Function Description

Description

This function allows users to measure the size of a bag of type dnsName. Being able to determine the bag's size can help with use cases such as enforcing there be at least 1 value, for instance at least one citizenship.

dnsNameBagSize belongs to the ALFA function reference's Bag functions category. It maps to the XACML function identifier urn:oasis:names:tc:xacml:2.0:function:dnsName-bag-size, takes 1 argument and returns a value of type integer.

Property Value
Category Bag functions
# Arguments 1
Arguments
  • a bag of type dnsName which size we want to determine.
Return Value integer
Expressed As pre-fix
Representation ALFA short name
Allowed In Target false
ALFA Shorthand None
Commutative false

Example