<< Click to Display Table of Contents >>

Editing groups and users

To edit groups and users using the RepositoryEX class, use the method below:


Method Detail

modifyGroupName

public String modifyGroupName(String groupID, String gName) throws OZCPException

Modifies the name of the group corresponding to the designated user ID.

Parameters:

groupID - Group ID

gName - Group name

modifyGroupDesc

public boolean modifyGroupDesc(String groupID, String desc) throws OZCPException

Returns the group description corresponding to the designated group ID.

Parameters:

groupID - Group ID

desc - Group description

modifyUserName

public String modifyUserName(String userID, String userName) throws OZCPException

Modifies the user name corresponding to the designated user ID.

Parameters:

userID - User ID

userName - User name

modifyUserPassword

public boolean modifyUserPassword(String userID, String old_password, String new_password) throws OZCPException

Modifies the password of the user corresponding to the designated user ID.

Parameters:

userID - User ID

old_password - Old password

new_password - New password

modifyUserDesc

public boolean modifyUserDesc(String userID, String desc) throws OZCPException

Modifies the user description corresponding to the designated user ID.

Parameters:

userID - User ID

desc - User description

transferGroup

public boolean transferGroup(String groupID, String target_GroupID) throws OZCPException

Transfers the group to another group and return success or failure.

Parameters:

groupID - Group ID to transfer

target_groupID - Target group ID

transferUser

public boolean transferUser(String userID, String target_GroupID) throws OZCPException

Transfers the user to another group and return success or failure.

Parameters:

userID - User ID to transfer

target_groupID - Target group ID