CMISLogin

Supply login credentials and connect to the CMIS server.

Member of namespace

CMISClient

Syntax

bool CMISLogin (string atomPubURL, string userID, string password, 
string repositoryID)

Parameters

atomPubURL
Type: string
userID
Type: string
password
Type: string
repositoryID
Type: string

Parameters

  • atomPubURL : The AtomPub URL for your CMIS compatible repository.
  • userID : The logon user ID.
  • password : The password.
  • repositoryID: Optionally specify the CMIS repository ID.

Smart parameters are supported for all parameters.

Returns

True if the login was successful. Otherwise, False.

Level

All levels.

Details

This action connects to a CMIS compatible repository by using an AtomPub URL. If the repository ID is blank, the connection is made to the first repository that is returned from the CMIS connection. This action must be called before you can use any of the other CMIS actions.
Example:
CMISLogin("http://localhost:8080/alfresco/service/api/cmis","MyUserID","@APPVAR(values/adv/cmispassword)")             

The password is obtained from the application service and is set by using the Application Manager.

CMISLogin("http://localhost:8080/alfresco/service/api/cmis","MyUserID","@APPVAR(values/adv/cmispassword)","MyRepositoryID")             

This example passes the optional repository ID.