Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKUserMgmtV4

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

public class DKUserMgmtV4
extends dkAbstractUserMgmt
implements DKMessageId, DKConstant

DKUserMgmtV4: This class represents and processes datastore user management functions for an VI 400 datastore.

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

    dsV4 = new DKDatastoreV4();
     ... // Connect to the datastore 
    dsDef = (DKDatastoreDefV4)dsV4.datastoreDef();
    dsAdmin = (DKDatastoreAdminV4)dsDef.datastoreAdmin();
    dsUserMgmt = (DKUserMgmtV4)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
 
Constructor Summary
DKUserMgmtV4(dkDatastore ds)
           
 
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
 

Constructor Detail

DKUserMgmtV4

public DKUserMgmtV4(dkDatastore ds)
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.