<< 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
GetGroupAdministrators
public IUserInfo[] GetGroupAdministrators(string groupID)
Gets the group administrator information of the designated group.
Parameters:
groupID - The group ID
IsGroupAdministrator
public bool IsGroupAdministrator(string userID, string groupID)
Check that the user corresponding to the user ID is the administrator of the group.
Parameters:
userID - The user ID
groupID - The group ID
IsAdministrator
public bool IsAdministrator(string userID)
Check that the user corresponding to the user ID is the administrator.
Parameters:
userID - The user ID
IsLoginEnabled
public bool IsLoginEnabled(string userID)
Gets whether the login of the user corresponding to the ID is enabled.
Parameters:
userID - The user ID