public bool IsUserByNameInDepartment(string userName, string departmentID)
    {
        if (!header.VerifyCredentials(header.UserName, header.Password, header.Type))
        {
            return(false);
        }

        Guid gDepartmentID = (Guid)XmlSerializer.Deserialize(departmentID);

        return(OrganizationPublicHelper.IsUserInDepartment(userName, gDepartmentID));
    }