Programmer's Guide > Interfaces > CMSAdapter interface > connect method
  
connect method
Establishes a content management system (CMS) session. On success, this session will become the "active" session. See the activeSession attribute of the Application interface for more details.
connect(loginId, password, dmsId)
Parameters
StringloginId
Specifies the CMS user name.
Stringpassword
Specifies the password for the loginId parameter.
StringdmsId
Specifies the CMS-specific identifier for the repository domain, library, docbase, and so forth.
Returns
CMSSession. A new CMS session.
Throws
CMSException
Raised for any error.