The CreateSession method creates a Policy Server session. A session is required before Policy Server objects can be manipulated. All necessary initializations and logging are performed at this stage.
Syntax
The CreateSession method has the following format:
Netegrity::PolicyMgtAPI‑>CreateSession(username, userpwd[, clientIP])
Parameters
The CreateSession method accepts the following parameters:
username (string)
Specifies the administrator's login ID.
userpwd (string)
Specifies the administrator's password.
clientIP (string)
(Optional) Specifies the IP address of the local machine.
The CreateSession method returns one of the following values:
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |