<< Click to Display Table of Contents >>
Getting group and user permissions
To get group and user permissions using the RepositoryEX class, use the method below:
Method Detail
getGroupAuthToCategory
public int getGroupAuthToCategory(String categoryID, String groupID) throws OZCPException
Gets the permission of the given group for the given category.
Parameters:
categoryID - Category ID
groupID - Group ID
getGroupListAuthToCategory
public IOZGroupInfoList getGroupListAuthToCategory(String categoryID, int perm) throws OZCPException
Gets the information of all users with permission level of or higher than Perm for the designated category ID.
Parameters:
categoryID - Category ID
perm - Permission information
getGroupAuthToItem
public int getGroupAuthToItem(String groupID, String itemID) throws OZCPException
Gets the permission of the given group ID for the given item ID.
Parameters:
groupID - Group ID
itemID - Item ID
getGroupListAuthToItem
public IOZGroupInfoList getGroupListAuthToItem(String itemID, int perm) throws OZCPException
Gets the information of all groups with permission level of or higher than Perm for the item ID.
Parameters:
itemID - Item ID
perm - Permission information
getUserAuthToCategory
public int getUserAuthToCategory(String userID, String categoryID) throws OZCPException
Gets the permission of the given user ID for the given category ID.
Parameters:
userID - User ID
categoryID - Category ID
getUserListAuthToCategory
public IOZUserInfoList getUserListAuthToCategory(String categoryID, int perm) throws OZCPException
Gets the list of all users with permission level of or higher than Perm for the designated category ID.
Parameters:
categoryID - Category ID
perm - Permission information
getUserAuthToItem
public int getUserAuthToItem(String userID, String itemID) throws OZCPException
Gets the user permission for the given item ID
Parameters:
userID - User ID
itemID - Item ID
perm - Permission information
getUserListAuthToItem
public IOZUserInfoList getUserListAuthToItem(String itemID, int perm) throws OZCPException
Gets the list of all items for which the user’s permission level is or higher than Perm.
Parameters:
itemID - Item ID
perm - Permission information