Name

auth_get_attr — get the specified attribute from the authorisation file values

Synopsis

use Wacs;
scalar auth_get_attr(ip_address,  
 authorisation_attribute); 
scalar ip_address;
scalar authorisation_attribute;
 

Summary

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.

Availability

auth_get_attr is available in both perl and php.