Programming Guides › Programming Guide for Perl › CLI Policy Management Methods › Policy Methods
Policy Methods
The following methods act on PolicyMgtPolicy objects:
- ActiveExpr MethodSets or retrieves the active expression associated with the policy.
- AddRule MethodAdds a rule to the policy
- AddUser MethodAdds a user to the policy
- AllowNested MethodSets or removes the AllowNested flag based on the value of flag specifying recursive evaluation
- CreateIPConfigHostName MethodCreates an IP configuration object from the specified host name
- CreateIPConfigRange MethodCreates an IP configuration object from the specified range of IP addresses
- CreateIPConfigSingleHost MethodCreates an IP configuration object from the specified IP address
- CreateIPConfigSubnetMask MethodCreates an IP Address configuration based on the IP address and subnet mask passed to the method
- DeleteIPConfig MethodDeletes an IP configuration object
- Description MethodSets or retrieves the description of the policy
- EnforceANDEvaluation MethodSets or removes the ANDUser/Group flag
- ExcludeUser MethodExcludes or includes a user
- GetAllIPConfigs MethodRetrieves all IP configuration objects in the policy
- GetAllRules MethodRetrieves an array of all rules associated with the policy
- GetAllUsers MethodRetrieves an array of all users associated with the policy
- IsEnabled MethodEnables or disables the policy
- Name MethodSets or retrieves the policy name
- RemoveResponse MethodRemoves the response for a configured rule in the policy
- RemoveRule MethodRemoves the specified rule from the policy
- RemoveUser MethodRemoves a user from the policy
- SetResponse MethodSets the response for a configured rule in the policy
- VariableExpr MethodSets, retrieves, or removes the active expression associated with the policy