<< 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

GetGroupID

public string GetGroupID(string userID)

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

Parameters:

userID - The group ID

GetGroupInfo

public IGroupInfo GetGroupInfo(string groupID)

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

Parameters:

groupID - The group ID

GetGroupInfoListInGroup

public IGroupInfo[] GetGroupInfoListInGroup(string groupID, bool isRecursive)

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

Parameters:

groupID - The group ID

isRecursive - Whether to include sub-group

GetSubGroupInfos

public IGroupInfo[] GetSubGroupInfos(string groupID)

Gets the information of a sub group of the designated group.

Parameters:

groupID - The group ID

GetParentGroupInfo

public IGroupInfo GetParentGroupInfo(string groupID)

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

Parameters:

groupID - The group ID

GetUserInfo

public IUserInfo GetUserInfo(string userID)

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

Parameters:

userID - The user ID

GetUserInfos

public IUserInfo[] GetUserInfos()

Gets the information of all users.

GetUserInfos

public IUserInfo[] GetUserInfos(string groupID)

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

Parameters:

groupID - The group ID

GetUserInfoListInGroup

public IUserInfo[] GetUserInfoListInGroup(string groupID, bool isRecursive)

Gets the user information.(Not supported in NONE type repository)

Parameters:

groupID - The group ID

isRecursive - Whether to include sub-group user

CheckPassword

public bool CheckPassword(string userID, string password)

Check that the user password is correct.

Parameters:

userID - The user ID

password - The password to be checked