Dell PowerConnect W Clearpass 100 Software 3.9 Deployment Guide - Page 479
Standard RADIUS Request Functions, Variables Available in Execution Context, AccessReject()
View all Dell PowerConnect W Clearpass 100 Software manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 479 highlights
Table 54 Display Expressions for Data Formatting (Continued) Value Description Nwa_NumberFormat(value[, if_undefined]) Nwa_NumberFormat(value, decimals) Nwa_NumberFormat(value, decimals, dec_point, thousands_sep[, if_undefined]) Converts a numerical value to a string. If the value has an undefined type (in other words, has not been set), and the if_undefined parameter was provided, returns if_undefined. Otherwise, the number is converted to a string using the number of decimal places specified in decimals (default 0), the decimal point character in dec_point (default "."), and the thousands separator character in thousands_sep (default ","). Nwa_TrimText(value, length) Trims excessively long strings to a maximum of length characters, appending an ellipsis ("...") if the string was trimmed. Nwa_ValueText(value[, if_undefined]) If the value has an undefined type (in other words, has not been set), and the if_undefined parameter was provided, returns if_undefined, or a HTML non-breaking space (" ") otherwise. Otherwise, the value is converted to a string for display. Standard RADIUS Request Functions These functions are available for use in condition expressions and value expressions used in the definition of a RADIUS role. See "Adding Authorization Conditions to Attribute Definitions" in the RADIUS Services chapter for more details about using these functions. Variables Available in Execution Context Several PHP variables are available for use at the time the condition expression or value expression is evaluated. Table 55 PHP Variables Variable Description $now $user $role $role_id $timeout $attribute $value Current UNIX time, as returned by PHP function time() User account structure Role definition for user Role ID of user account Calculated session timeout for user, in seconds Attribute name (from role definition) Attribute value (from role definition) AccessReject() AccessReject() If invoked from a conditional expression, causes the Access-Request to be rejected. Example usage as part of a condition expression for an attribute: return expression && AccessReject() ClearPass Guest 3.9 | Deployment Guide Reference | 479