Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieve PasswordExpirationDate from Central Management Server using Java

 
sathya anu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic