• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Retrieve PasswordExpirationDate from Central Management Server using Java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
eat bricks! HA! And here's another one! And a tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic