This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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