|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.dkAbstractUserMgmt | +--com.ibm.mm.sdk.common.DKUserMgmtOD
DKUserMgmtOD: This class represents and processes datastore user management functions for a Content Manager datastore.
DKUserMgmtOD does not have a public constructor. A DKUserMgmtOD object is created from a DKDatastoreOD object, as part of a chain for object creations. Use the userManagement() method of DKDatastoreAdminOD to get the DKUserMgmtOD object. The following example illustrates how to access a DKUserMgmtOD object:
dsOD = new DKDatastoreOD(); ... // Connect to the datastore dsDef = (DKDatastoreDefOD)dsOD.datastoreDef(); dsAdmin = (DKDatastoreAdminOD)dsDef.datastoreAdmin(); dsUserMgmt = (DKUserMgmtOD)dsAdmin.userManagement();
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 |
addToGroup(java.lang.String group,
java.lang.String userId)
Adds a user to a user-group |
void |
addUser(java.lang.String userId,
java.lang.String password)
Creates a new user-id (with default information) |
void |
addUser(java.lang.String userId,
java.lang.String password,
dkProfile profile)
Creates a new user-id according to a given profile The profile is a datastore specific information about the user |
void |
addUserGroup(java.lang.String groupName)
Creates a new user-group (with default information) |
void |
addUserGroup(java.lang.String groupName,
dkProfile groupProfile)
Creates a new user-group according to a given profile The profile is a datastore specific information about the user-group. |
void |
changePassword(java.lang.String userId,
java.lang.String oldPwd,
java.lang.String newPwd)
Changes the password of a given user-id |
void |
delUser(java.lang.String userId)
Deletes a user-id from the system |
void |
delUserGroup(java.lang.String userGrp)
Deletes a user-group from the system |
dkDatastore |
getDatastore()
Gets the reference to the owner datastore object |
java.lang.String[] |
listUserGroups()
Lists user groups defined in the system |
java.lang.String[] |
listUsers()
Lists users defined in the system |
void |
removeFromGroup(java.lang.String group,
java.lang.String userId)
Removes a user from a user-group |
void |
setDatastore(dkDatastore ds)
Sets the reference to the owner datastore object |
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractUserMgmt |
add, add, clearCache, createUserDef, createUserGroupDef, del, del, deleteUserDef, deleteUserGroupDef, isAdminUser, listUserDefs, listUserGroupDefs, retrieveUserDef, retrieveUserGroupDef, update, update |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void setDatastore(dkDatastore ds)
setDatastore
in class dkAbstractUserMgmt
public dkDatastore getDatastore()
getDatastore
in class dkAbstractUserMgmt
public void addUser(java.lang.String userId, java.lang.String password) throws DKException, java.lang.Exception
addUser
in class dkAbstractUserMgmt
com.ibm.mm.sdk.common.dkAbstractUserMgmt
dkAbstractUserMgmt.add(dkUserDef)
public void addUser(java.lang.String userId, java.lang.String password, dkProfile profile) throws DKException, java.lang.Exception
addUser
in class dkAbstractUserMgmt
com.ibm.mm.sdk.common.dkAbstractUserMgmt
dkAbstractUserMgmt.add(dkUserDef)
public void changePassword(java.lang.String userId, java.lang.String oldPwd, java.lang.String newPwd) throws DKException, java.lang.Exception
changePassword
in class dkAbstractUserMgmt
public void delUser(java.lang.String userId) throws DKException, java.lang.Exception
delUser
in class dkAbstractUserMgmt
com.ibm.mm.sdk.common.dkAbstractUserMgmt
dkAbstractUserMgmt.del(dkUserDef)
public java.lang.String[] listUsers() throws DKException, java.lang.Exception
listUsers
in class dkAbstractUserMgmt
public java.lang.String[] listUserGroups() throws DKException, java.lang.Exception
listUserGroups
in class dkAbstractUserMgmt
public void addUserGroup(java.lang.String groupName) throws DKException, java.lang.Exception
addUserGroup
in class dkAbstractUserMgmt
com.ibm.mm.sdk.common.dkAbstractUserMgmt
dkAbstractUserMgmt.add(dkUserGroupDef)
public void addUserGroup(java.lang.String groupName, dkProfile groupProfile) throws DKException, java.lang.Exception
addUserGroup
in class dkAbstractUserMgmt
com.ibm.mm.sdk.common.dkAbstractUserMgmt
dkAbstractUserMgmt.add(dkUserGroupDef)
public void delUserGroup(java.lang.String userGrp) throws DKException, java.lang.Exception
delUserGroup
in class dkAbstractUserMgmt
com.ibm.mm.sdk.common.dkAbstractUserMgmt
dkAbstractUserMgmt.deleteUserGroupDef(java.lang.String)
public void addToGroup(java.lang.String group, java.lang.String userId) throws DKException, java.lang.Exception
addToGroup
in class dkAbstractUserMgmt
com.ibm.mm.sdk.common.dkAbstractUserMgmt
dkAbstractUserMgmt.update(dkUserGroupDef)
public void removeFromGroup(java.lang.String group, java.lang.String userId) throws DKException, java.lang.Exception
removeFromGroup
in class dkAbstractUserMgmt
com.ibm.mm.sdk.common.dkAbstractUserMgmt
dkAbstractUserMgmt.update(dkUserGroupDef)
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |