<< 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 groupName)
Modifies the name of the user corresponding to the user ID.
Parameters:
groupID - The group ID
groupName - The group name
ModifyGroupDescription
public bool ModifyGroupDescription(string groupID, string description)
Modifies the description of the user corresponding to the user ID.
Parameters:
groupID - The group ID
description - The group description
ModifyUserName
public string ModifyUserName(string userID, string userName)
Modifies the name of the user corresponding to the user ID.
Parameters:
userID - The user ID
userName - The user name
ModifyUserPassword
public bool ModifyUserPassword(string userID, string oldPwd, string newPwd)
Modifies the password of the user corresponding to the user ID.
Parameters:
userID - The user ID
oldPwd - The old password
newPwd - The new password
ModifyUserDescription
public bool ModifyUserDescription(string userID, string description)
Modifies the description of the user corresponding to the user ID.
Parameters:
userID - The user ID
description - The user description
TransferGroup
public bool TransferGroup(string groupID, string targetGroupID)
Moves the designated group to another group.
Parameters:
groupID - The group ID to transfer
targetGroupID - The target group ID
TransferUser
public bool TransferUser(string userID, string newGroupID)
Moves the group of the assigned user.
Parameters:
userID - The user ID
newGroupID - The target group ID