auth_get_attr — get the specified attribute from the authorisation file values
use Wacs;
scalar auth_get_attr( | ip_address, | |
authorisation_attribute) ; |
scalar ip_address
;scalar authorisation_attribute
;auth_get_attr
returns the specified attribute from
the authorisation file or it's default value if not specified there. These
look ups are based on the IP address of the host - typical attributes include
the user name, the preference exclusions, the role, and the various
preference settings - see add_auth for more info.