Previous Topic: CLI Policy MethodsNext Topic: CLI Realm Methods


CLI Policy Server Connectivity Methods

GetPorts Method—Deprecated

The GetPorts method is deprecated in SiteMinder v6.0 and replaced by the GetServerPort method.

GetServerAddress Method—Retrieves the Host Name or IP Address of the Policy Server

The GetServerAddress method retrieves the Host Name or IP address of the Policy Server.

Syntax

The GetServerAddress method has the following format:

Netegrity::PolicyMgtServer‑>GetServerAddress()

Parameters

The GetServerAddress method accepts no parameters.

Return Value

The GetServerAddress method returns one of the following values:

GetServerPort Method—Retrieves TCP Port for Policy Server or Server Cluster

The GetServerPort method retrieves one of the following:

Syntax

The GetServerPort method has the following format:

Netegrity::PolicyMgtServer‑>GetServerPort()

Parameters

The GetServerPort method accepts no parameters:

Return Value

The GetServerPort method returns one of the following values:

Remarks

The single-process Policy Server introduced in SiteMinder v6.0 combines the previously separate Authentication, Authorization, and Accounting processes into one combined process whose requests go through one TCP port. As a result, the ports numbers retrieved in the array are all the same.