This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
 
Similar Threads
Number Format Exception Error
Regarding CMC work culture
Want to access a secure site data with the use of URL class.
Getting services to work with NTLM Authentication over HTTPS/SSL
tomcat not contact another server ip address