<< Click to Display Table of Contents >>
IRepositoryGroup
This interface provides functions for setting group.
Property Detail
AccessType
GroupAccess AccessType
Gets the methods with access to the Group Interface as numerals.
Repository
IRepository Repository
Gets the object where the IRepository Interface is implemented.
Method Detail
CreateGroup
string CreateGroup(object session, string groupName, string parentGroupID, string description)
Creates a new group and returns its ID.
Parameters:
session - Session ID
groupName - Name of the new group
parentGroupID - ID of the parent group for the new group
description - Group description
ModifyGroupName
string ModifyGroupName(object session, string groupID, string groupName)
Changes the name of the group corresponding to the group ID and returns the changed group ID.
Parameters:
session - Session ID
groupID - Group ID
groupName - New group name
ModifyGroupDescription
bool ModifyGroupDescription(object session, string groupID, string description)
Modifies the description of the group corresponding to the group ID and returns whether the result.
Parameters:
session - Session ID
groupID - Group ID
description - New group description
DeleteGroup
bool DeleteGroup(object session, string groupID)
Deletes the group corresponding to the group ID and returns whether the result.
Parameters:
session - Session ID
groupID - ID of the group to delete
CreateUser
string CreateUser(object session, string userName, string password, string groupID, string description)
Creates a new user ID in the designated group and returns the ID.
Parameters:
session - Session ID
userName - User name
password - Password
groupID - Group ID
description - User description
GetUserInfos
IUserInfo[] GetUserInfos(object session, string groupID)
Gets the information of all users registered in the designated group ID.
Parameters:
session - Session ID
groupID - Group ID
GetGroupInfo
IGroupInfo GetGroupInfo(object session, string groupID)
Gets the information of the group corresponding to the group ID.
Parameters:
session - Session ID
groupID - Group ID
GetSubGroupInfos
IGroupInfo[] GetSubGroupInfos(object session, string groupID)
Gets the information of the subgroup of the designated group.
Parameters:
session - Session ID
groupID - Group ID
GetParentGroupInfo
IGroupInfo GetParentGroupInfo(object session, string groupID)
Gets the information of the parent group of the designated group.
Parameters:
session - Session ID
groupID - Group ID
GetGroupID
string GetGroupID(object session, string userID)
Gets the information of the group where the designated user belongs to.
Parameters:
session - Session ID
userID - User ID
AddGroupAdministrator
bool AddGroupAdministrator(object session, string userID, string groupID)
Add a group administrator to the designated group and returns whether the result.
Parameters:
session - Session ID
userID - User ID to add as a group admin.
groupID - ID Group ID to add as a group admin.
RemoveGroupAdministrator
bool RemoveGroupAdministrator(object session, string userID, string groupID)
Cancels the group Admin for the designated group and returns whether the result.
Parameters:
session - Session ID
userID - User ID
groupID - Group ID
IsGroupAdministrator
bool IsGroupAdministrator(object session, string userID, string groupID)
Checks that the user corresponding to the user ID is the administrator of the group.
Parameters:
session - Session ID
userID - The User ID
groupID - The Group ID
GetAdministrators
IUserInfo[] GetAdministrators(object session, string groupID)
Gets the group administrator information of the designated group.
Parameters:
session - Session ID
groupID - The Group ID
TransferUser
bool TransferUser(object session, string userID, string newGroupID)
Moves the group of the assigned user and gets whether the result.
Parameters:
session - Session ID
userID - The User ID
newGroupID - New group ID
TransferGroup
bool TransferGroup(object session, string groupID, string targetGroupID)
Moves the designated group to another group and gets whether the result.
Parameters:
session - Session ID
userID - The Group ID
targetGroupID - Target group ID