BBjAPI::killSession
Description
In BBj 4.00 and higher, this method kills a running BBj session.
Syntax
Return Value | Method |
---|---|
void | killSession(BBjSessionInfo SessionInfo, String username, String password) |
Parameters
Parameter | Description |
---|---|
SessionInfo | A BBjSessionInfo object retrieved using BBjAPI::getSessionInfos() or BBjAPI::getCurrentSessionInfo(). |
username | Name of user executing this operation. |
password | Password for user executing this operation. |
Return Value
None.
Remarks
This call fails unless the user has permissions to terminate BBj Processes. To add permissions, go to the Users options under the Security folder of Enterprise Manager and check "BBj Processes (View, Terminate)", or use the BBjAdmin::setPermission method to set BBjAdmin.PROCESSES to true (1).
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.