aspose file tools*
The moose likes Distributed Java and the fly likes Retrieve PasswordExpirationDate from Central Management Server using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Retrieve PasswordExpirationDate from Central Management Server using Java" Watch "Retrieve PasswordExpirationDate from Central Management Server using Java" New topic
Author

Retrieve PasswordExpirationDate from Central Management Server using Java

sathya anu
Greenhorn

Joined: Mar 21, 2012
Posts: 1
I am very new to the CMC(Central Management Console). CMC uses CMS server. Through Java I need to retrieve password expiration date from CMC.
In the CMC,BusinessObjects Enterprise password expiration rules has been set on the Enterprise tab.

In the Java class, the BO oject returns like this.

String cmsName = "localhost";
String authType = "secEnterprise";
IEnterpriseSession boEnterpriseSession = null;
IInfoStore boInfoStore = null;

boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon(username, password, cmsName, authType);
String query = "SELECT * FROM CI_SYSTEMOBJECTS WHERE SI_ID=" + userId;
IInfoObjects boInfoObjects = (IInfoObjects) boInfoStore.query(query);
IUser boUser = (IUser) boInfoObjects.get(0);

My Question is How should I get the Password Expiration Date from the boUser Object?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Retrieve PasswordExpirationDate from Central Management Server using Java