Skip to main content
Planview Customer Success Center

IsIPAddressInRange Function

IsIPAddressInRange (ipAddress as String, ipRange as String) as Boolean

Category: Common
Description: Returns TRUE if the ipAddress is within the ipRange. The ipAddress's format is 'x.x.x.x' and the ipRange's format is 'x.x.x.x-y.y.y.y,x.x.x.x-y.y.y.y'.
Supported Context: FormulaField And BusinessRules
Parameters:  
ipAddress as String  
ipRange as String  
Returned value as Boolean  
Example #1

Check if a user's last login IP is within a specific network range:

IsIPAddressInRange($LastLoginIPAddress,'12.250.199.12-12.250.199.30')