Creating Session in Documentum

IDfClientX clientX = new DfClientX(); 

clientX is used to get the IDfClient from getLocalClient() and IDfLoginInfo from getLoginInfo 

IDfClient client = clientX.getLocalClient(); 

IDfLoginInfo loginInfoObj = clientx.getLoginInfo();

             loginInfoObj.setUser(userName);

             loginInfoObj.setPassword(password);

             loginInfoObj.setDomain(null);


Client is used to get the newSessionManager()
 

IDfSessionManager sessionManager = client.newSessionManager(); 

sessionManager.setIdentity(docbase, loginInfoObj); 

IDfSession session = sessionManager.getSession(docbase)
 

Below Inferfaces are used to create a documentum session if we know the username, password and DocbaseName. 
 


 



 

Comments

Popular posts from this blog

Create a web application in 5 minutes using Spring Boot and Maven

Implementation of Documentum Business Object Framework (BOF)