Establishing a Crystal Enterprise Session
The first step in interacting with Crystal Enterprise from an SDK perspective is to establish an active session with CE. This is done via the SessionMgr (Session Manager) object. The result of logging on is an EnterpriseSession object, which provides an entry point into all the SDK operations. There are several ways the logon can happen; the following sections describe these methods.
Logging On to Crystal Enterprise with a Username and Password
This is a fairly straightforward two-step procedure. First, the SessionMgr object must be created. Then its Logon method must be invoked, passing in four parameters:
Username
Password
CMS name
Authentication type
As discussed in Chapter 24, “Crystal Enterprise Architecture,” ...
Get Special Edition Using® Crystal Reports® 10 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.