<< Click to Display Table of Contents >>

Getting groups and users

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


Method Detail

getGroupInfo

public IOZGroupInfo getGroupInfo(String groupID) throws OZCPException

Gets the information of the group corresponding to the designated group ID.

Parameters:

groupID - Group ID

getGroupInfoListInGroup

public IOZGroupInfoList getGroupInfoListInGroup(String groupID, boolean isRecursive) throws OZCPException

Gets the group information that was added to the group.(Not supported in NONE type repository)

Parameters:

groupID - Group ID

isRecursive - Whether to include sub-group

getSubGroupInfoList

public IOZGroupInfoList getSubGroupInfoList(String groupID) throws OZCPException

Gets the sub-group information of the designated group.

Parameters:

groupID - Group ID

getParentGroupInfo

public IOZGroupInfo getParentGroupInfo(String groupID) throws OZCPException

Gets the information of the parent group of the designated group.

Parameters:

groupID - Group ID

getUserInfo

public IOZUserInfo getUserInfo(String userID) throws OZCPException

Gets the information of the user corresponding to the designated user ID.

Parameters:

userID - User ID

getUserInfoList

public IOZUserInfoList getUserInfoList() throws OZCPException

Gets the information of all users.

getUserInfoListInGroup

public IOZUserInfoList getUserInfoListInGroup(String groupID) throws OZCPException

Gets the information of all users registered in the designated group ID.

Parameters:

groupID - Group ID

getUserInfoListInGroup

public IOZUserInfoList getUserInfoListInGroup(String groupID, boolean isRecursive) throws OZCPException

Gets the user information that was added to the group. (Not supported in NONE type repository)

Parameters:

groupID - Group ID

isRecursive - Whether to include sub-group user

checkUserPassword

public boolean checkUserPassword(String userID, String password) throws OZCPException

Checks whether the user password is correct.

Parameters:

userID - User ID

password - User password

getGroupIdOfUser

public String getGroupIdOfUser(String userID) throws OZCPException

Gets the information of the group where the designated user belongs.

Parameters:

userID - User ID