public List<CmsUser> getUsersOfGroup(
        CmsDbContext dbc,
        String groupname,
        boolean includeOtherOuUsers,
        boolean directUsersOnly,
        boolean readRoles)
    throws CmsException {

        return internalUsersOfGroup(
            dbc,
            CmsOrganizationalUnit.getParentFqn(groupname),
            groupname,
            includeOtherOuUsers,
            directUsersOnly,
            readRoles);
    }
public List < CmsUser > getUsersOfGroup ( CmsDbContext dbc , String groupname , boolean includeOtherOuUsers , boolean directUsersOnly , boolean readRoles ) throws CmsException { return internalUsersOfGroup ( dbc , CmsOrganizationalUnit . getParentFqn ( groupname ) , groupname , includeOtherOuUsers , directUsersOnly , readRoles ) ; }
Returns a list of users in a group.<p>

@param dbc the current database context
@param groupname the name of the group to list users from
@param includeOtherOuUsers include users of other organizational units
@param directUsersOnly if set only the direct assigned users will be returned,
if not also indirect users, ie. members of parent roles,
this parameter only works with roles
@param readRoles if to read roles or groups

@return all <code>{@link CmsUser}</code> objects in the group

@throws CmsException if operation was not successful