Previous Topic: CLI Initialization MethodsNext Topic: CLI ODBC Query Scheme Methods


CLI IP Configuration Methods

GetEndIPAddress Method—Retrieves the Ending IP Address

The GetEndIPAddress method retrieves the ending IP address for an IP address range.

Syntax

The GetEndIPAddress method has the following format:

Netegrity::PolicyMgtIPConfig‑>GetEndIPAddress( )

Parameters

The GetEndIPAddress method accepts no parameters.

Return Value

The GetEndIPAddress method returns one of the following values:

Remarks

See the method PolicyMgtAffiliate‑>CreateIPConfigRange for more information.

GetHostName Method—Retrieves the Host Name Associated with a Host Name IP Address Restriction

The GetHostName method retrieves the host name associated with a host name IP address restriction.

Syntax

The GetHostName method has the following format:

Netegrity::PolicyMgtIPConfig‑>GetHostName()

Parameters

The GetHostName method accepts no parameters.

Return Value

The GetHostName method returns one of the following values:

Remarks

See the method PolicyMgtAffiliate‑>CreateIPConfigHostName for more information.

GetIPAddress Method— Retrieves an IP address for an IP address restriction

The GetIPAddress method retrieves an IP address for an IP address restriction, as follows:

To determine the type of IP address restriction, call the GetType method.

Syntax

The GetIPAddress method has the following format:

Netegrity::PolicyMgtIPConfig‑>GetIPAddress()

Parameters

The GetIPAddress method accepts no parameters.

Return Value

The GetIPAddress method returns one of the following values:

GetSubnetMask Method—Retrieves the Subnet Mask for a Subnet Address

The GetSubnetMask method retrieves the subnet mask for a subnet address derived from a specified subnet mask and IP address.

Syntax

The GetSubnetMask method has the following format:

Netegrity::PolicyMgtIPConfig‑>GetSubnetMask( )

Parameters

The GetSubnetMask method accepts no parameters.

Return Value

The GetSubnetMask method returns one of the following values:

Remarks

See the description of the PolicyMgtPolicy‑>CreateIPConfigSubnetMask method for more information.

GetType Method—Retrieves the Type of the IP Address Restriction

The GetType method retrieves the type of the IP address restriction. An IP address restriction specifies where a request must originate before it can be honored.

Syntax

The GetType method has the following format:

Netegrity::PolicyMgtIPConfig‑>GetType()

Parameters

The GetType method accepts no parameters.

Return Value

The GetType method returns one of the following values: