Previous Topic: CreateIPConfigSingleHost Method—Creates an IP Configuration Object from the Specified IP Address

Next Topic: DeleteIPConfig Method—Deletes an IP Configuration Object

CreateIPConfigSubnetMask Method—Creates an IP Configuration Object

The CreateIPConfigSubnetMask method creates an IP configuration object from the specified IP address and subnet mask.

Syntax

The CreateIPConfigSubnetMask method has the following format:

Netegrity::PolicyMgtAffiliate‑>CreateIPConfigSubnetMask( ipAddr, subnetMask )

Parameters

The CreateIPConfigSubnetMask method accepts the following parameters:

ipAddr (string)

Specifies the IP address used to derive the subnet address.

subnetMask (unsigned long)

Specifies the subnet mask used to derive the subnet address.

Return Value

The CreateIPConfigSubnetMask method returns one of the following values:

Remarks

Only those users who access the affiliate site from the subnet address will be accepted at the affiliate site. The subnet address is derived from the passed IP address and subnet mask.


Copyright © 2010 CA. All rights reserved. Email CA about this topic