Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKUserMgmtDL

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.dkAbstractUserMgmt
        |
        +--com.ibm.mm.sdk.common.DKUserMgmtDL
All Implemented Interfaces:
DKConstant, DKMessageId, dkUserManagement, java.io.Serializable

public class DKUserMgmtDL
extends dkAbstractUserMgmt
implements DKMessageId, DKConstant

DKUserMgmtDL: This class represents and processes datastore user management functions for a Content Manager datastore.

DKUserMgmtDL does not have a public constructor. A DKUserMgmtDL object is created from a DKDatastoreDL object, as part of a chain for object creations. Use the userManagement() method of DKDatastoreAdminDL to get the DKUserMgmtDL object. The following example illustrates how to access a DKUserMgmtDL object:

    dsDL = new DKDatastoreDL();
     ... // Connect to the datastore 
    dsDef = (DKDatastoreDefDL)dsDL.datastoreDef();
    dsAdmin = (DKDatastoreAdminDL)dsDef.datastoreAdmin();
    dsUserMgmt = (DKUserMgmtDL)dsAdmin.userManagement();
 

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant
    For details, see the class or interface
 
Method Summary
 void changePassword(java.lang.String userId, java.lang.String oldPwd, java.lang.String newPwd)
          Changes the password of a given user-id
 
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractUserMgmt
add, add, addToGroup, addUser, addUser, addUserGroup, addUserGroup, clearCache, createUserDef, createUserGroupDef, del, del, deleteUserDef, deleteUserGroupDef, delUser, delUserGroup, getDatastore, isAdminUser, listUserDefs, listUserGroupDefs, listUserGroups, listUsers, removeFromGroup, retrieveUserDef, retrieveUserGroupDef, setDatastore, update, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

changePassword

public void changePassword(java.lang.String userId,
                           java.lang.String oldPwd,
                           java.lang.String newPwd)
                    throws DKException,
                           java.lang.Exception
Changes the password of a given user-id
Overrides:
changePassword in class dkAbstractUserMgmt

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.