<< Click to Display Table of Contents >>
IRepositoryUserAuthorityToCategory
This interface provides user permissions for categories.
Property Detail
AccessType
AuthorityAccess AccessType
Gets the methods with access to the User Authorization Interface for categories as numerals.
Repository
IRepository Repository
Gets the class where the OZRepository Interface is implemented.
Method Detail
Modify
bool Modify(object session, string userID, string categoryID, Authority permission)
Modifies the authorization information of the assigned user ID for the designated category ID and returns whether the result.
Parameters:
session - Session ID
userID - The user ID
categoryID - The category ID
permission - Permission information
GetAuthority
Authority GetAuthority(object session, string userID, string categoryID)
Gets the authorization information of the assigned user ID for the designated category ID.
Parameters:
session - Session ID
userID - The User ID
categoryID - The category ID
GetUserInfos
IUserInfo[] GetUserInfos(object session, string categoryID, Authority permission)
Gets the information of all users with an authorization level of or high than Permission for the designated category ID.
Parameters:
session - Session ID
categoryID - The category ID
permission - Permission information
GetItemInfos
IItemInfo[] GetItemInfos(object session, string userID, string categoryID, Authority permission)
Gets the list of all items for which the assigned user’s authorization level is or higher than Permission among the items in the designated category.
Parameters:
session - Session ID
userID - The user ID
categoryID - The category ID
permission - Permission information
GetCategoryInfos
ICategoryInfo[] GetCategoryInfos(object session, string userID, string categoryID, Authority permission)
Gets the list of all categories for which the user’s authorization level is or higher than Permission among the sub categories of the designated category.
Parameters:
session - Session ID
userID - The user ID
categoryID - The category ID
permission - Permission information